Package | Description |
---|---|
com.BombingGames.WurfelEngine.Core | |
com.BombingGames.WurfelEngine.Core.Gameobjects |
Game Objects are objects like entities and block which can be found in the map.
|
com.BombingGames.WurfelEngine.Core.Map | |
com.BombingGames.WurfelEngine.MapEditor | |
com.BombingGames.WurfelEngine.shooting |
Constructor and Description |
---|
Camera(AbstractEntity focusentity,
int x,
int y,
int width,
int height,
GameView view)
Creates a camera focusing an entity.
|
Modifier and Type | Class and Description |
---|---|
class |
BenchmarkBall |
class |
BlockDirt |
class |
Controllable |
class |
Dust |
class |
EntityShadow |
class |
Explosion |
class |
MovableEntity
A character is an entity wich can walk around.
|
class |
PlayerWithWeapon
The WeaponPlayer is a character who can walk and shoot.
|
class |
Selection
The seletion indicator in the level editor.
|
class |
SimpleEntity
A simple basic entity.
|
Modifier and Type | Method and Description |
---|---|
AbstractEntity |
AbstractEntity.spawn(Point point)
add this entity to the map-> let it spawn
|
AbstractEntity |
Explosion.spawn(Point point)
explodes
|
AbstractEntity |
Selection.spawn(Point point) |
Modifier and Type | Method and Description |
---|---|
static java.util.HashMap<java.lang.String,java.lang.Class<? extends AbstractEntity>> |
AbstractEntity.getRegisteredEntities()
Get a map of the registered entities
|
Modifier and Type | Method and Description |
---|---|
static void |
AbstractEntity.registerEntity(java.lang.String name,
java.lang.Class<? extends AbstractEntity> entityClass)
Register a class of entities.
|
Constructor and Description |
---|
EntityShadow(AbstractEntity character) |
Modifier and Type | Method and Description |
---|---|
<type extends AbstractEntity> |
AbstractMap.getEntitys(java.lang.Class<type> type)
Find every instance of a special class.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<AbstractEntity> |
Coordinate.getEntitiesInside()
Get every entity on a coord.
|
java.util.ArrayList<AbstractEntity> |
Point.getEntitiesNearby(float radius)
get entities in radius
|
java.util.ArrayList<AbstractEntity> |
Point.getEntitiesNearbyHorizontal(float radius)
get entities in radius (horizontal only)
|
java.util.ArrayList<AbstractEntity> |
AbstractMap.getEntitys()
Returns the entityList
|
java.util.ArrayList<AbstractEntity> |
ChunkMap.getEntitysOnChunk(int xChunk,
int yChunk)
Get every entity on a chunk.
|
java.util.ArrayList<AbstractEntity> |
ChunkMap.getEntitysOnChunkWhichShouldBeSaved(int xChunk,
int yChunk)
Get every entity on a chunk which should be saved
|
java.util.ArrayList<AbstractEntity> |
AbstractMap.getEntitysOnCoord(Coordinate coord)
Get every entity on a coord.
|
Modifier and Type | Method and Description |
---|---|
<type> java.util.ArrayList<type> |
Point.getEntitiesNearby(float radius,
java.lang.Class<? extends AbstractEntity> type)
get entities in radius
|
<type> java.util.ArrayList<type> |
Coordinate.getEntitysInside(java.lang.Class<? extends AbstractEntity> type)
Get every entity on this coord of the wanted type
|
<type> java.util.ArrayList<type> |
AbstractMap.getEntitysOnCoord(Coordinate coord,
java.lang.Class<? extends AbstractEntity> type)
Get every entity on a coord of the wanted type
|
void |
Minimap.setTrackedEnt(java.util.ArrayList<AbstractEntity> trackedEnt) |
Modifier and Type | Method and Description |
---|---|
AbstractEntity |
PlacableGUI.getEntity()
Trys returning a new instance of a selected entity class.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<AbstractEntity> |
MapEditorController.getSelectedEntities()
filter map editor entities
|
java.util.ArrayList<AbstractEntity> |
MapEditorController.select(int x1,
int y1,
int x2,
int y2)
Select every entity in this area.
|
Modifier and Type | Method and Description |
---|---|
void |
PlacableGUI.setEntity(java.lang.String name,
java.lang.Class<? extends AbstractEntity> entclass) |
Constructor and Description |
---|
EntityDrawable(java.lang.Class<? extends AbstractEntity> type) |
Modifier and Type | Class and Description |
---|---|
class |
Bullet
A bullet is a moving object which can destroy and damage entities or the world.
|