Package | Description |
---|---|
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 |
Modifier and Type | Class and Description |
---|---|
class |
AnimatedBlock
A block who has an animation.
|
class |
Sea
A Sea Block which has a "waves" effect.
|
Modifier and Type | Method and Description |
---|---|
RenderBlock |
RenderBlock.spawn(Coordinate coord)
places the object on the map.
|
RenderBlock |
CoreData.toBlock()
creates a new RenderBlock instance based on he data
|
RenderBlock |
CustomBlocks.toRenderBlock(byte id,
byte value) |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractMap.setBlock(RenderBlock block)
Replace a block.
|
void |
Chunk.setBlock(RenderBlock block)
sets a block in the map. if position is under the map does nothing.
|
void |
ChunkMap.setBlock(RenderBlock block) |
void |
CompleteMap.setBlock(RenderBlock block) |
void |
Coordinate.setBlock(RenderBlock block)
Set a block in the map where the coordinate is pointing to.
|
Modifier and Type | Method and Description |
---|---|
RenderBlock |
PlacableGUI.getBlock(Coordinate coord)
Get a new instance of a selected block.
|