Constructor and Description |
---|
Camera(AbstractEntity focusentity,
int x,
int y,
int width,
int height)
Creates a camera focusing an entity.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCharacter
A character is an entity wich can walk around.
|
class |
AnimatedEntity
An entity wich is animated.
|
class |
BenchmarkBall |
class |
PlayerWithWeapon
The WeaponPlayer is a character who can walk and shoot.
|
class |
SimpleEntity
A simple basic entity.
|
Modifier and Type | Method and Description |
---|---|
AbstractEntity |
AbstractEntity.exist()
add this entity to the map-> let it exist
|
Modifier and Type | Method and Description |
---|---|
<type extends AbstractEntity> |
Map.getAllEntitysOfType(java.lang.Class<? extends AbstractEntity> type)
Find every instance of a special class e.g. find every AbstractCharacter
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<AbstractEntity> |
Map.getAllEntitysOnCoord(Coordinate coord)
Get every entity on a coord.
|
java.util.ArrayList<AbstractEntity> |
Map.getEntitys()
Returns the entityList
|
Modifier and Type | Method and Description |
---|---|
<type extends AbstractEntity> |
Map.getAllEntitysOfType(java.lang.Class<? extends AbstractEntity> type)
Find every instance of a special class e.g. find every AbstractCharacter
|
<type> java.util.ArrayList<type> |
Map.getAllEntitysOnCoord(Coordinate coord,
java.lang.Class<? extends AbstractEntity> type)
Get every entity on a coord of the wanted type
|
Modifier and Type | Method and Description |
---|---|
AbstractEntity |
MapEditorController.getFocusentity()
Get the entity laying under the cursor.
|
Modifier and Type | Class and Description |
---|---|
class |
Bullet |