Mallet Engine
2
Entity-Component based game engine, written in Java.
|
Public Member Functions | |
Query (final String _name) | |
abstract Entity | queryForEntity (final Settings _query) |
abstract ArrayList< Entity > | queryForEntities (final Settings _query) |
abstract void | addEntity (final Entity _entity) |
abstract void | removeEntity (final Entity _entity) |
String | getQueryName () |
abstract void | clear () |
Protected Attributes | |
String | name = "UNKNOWN" |
Even though an Interface is available to make use of the QuerySystem, it is expected that most developers will use this abstract class.
This Query class deals with the boiler plate code required. Such as the Query name.
com.linxonline.mallet.entity.query.Query.Query | ( | final String | _name | ) |
abstract void com.linxonline.mallet.entity.query.Query.addEntity | ( | final Entity | _entity | ) | [pure virtual] |
abstract void com.linxonline.mallet.entity.query.Query.clear | ( | ) | [pure virtual] |
abstract ArrayList<Entity> com.linxonline.mallet.entity.query.Query.queryForEntities | ( | final Settings | _query | ) | [pure virtual] |
abstract Entity com.linxonline.mallet.entity.query.Query.queryForEntity | ( | final Settings | _query | ) | [pure virtual] |
abstract void com.linxonline.mallet.entity.query.Query.removeEntity | ( | final Entity | _entity | ) | [pure virtual] |
String com.linxonline.mallet.entity.query.Query.name = "UNKNOWN" [protected] |