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.Core.Map.Iterators | |
com.BombingGames.WurfelEngine.MapEditor |
Modifier and Type | Method and Description |
---|---|
CoreData |
AbstractGameObject.getCoreData() |
static CoreData |
CoreData.getInstance(byte id) |
static CoreData |
CoreData.getInstance(byte id,
byte value) |
CoreData |
RenderBlock.toStorageBlock()
gets the identifier and stores them in the map
|
Modifier and Type | Method and Description |
---|---|
abstract CoreData |
AbstractPosition.getBlock()
Clamps positions over the map at topmost layer.
|
CoreData |
Coordinate.getBlock() |
CoreData |
Point.getBlock() |
abstract CoreData |
AbstractMap.getBlock(Coordinate coord) |
CoreData |
ChunkMap.getBlock(Coordinate coord) |
CoreData |
CompleteMap.getBlock(Coordinate coord) |
abstract CoreData |
AbstractMap.getBlock(int x,
int y,
int z)
Returns a block without checking the parameters first.
|
CoreData |
Chunk.getBlock(int x,
int y,
int z) |
CoreData |
ChunkMap.getBlock(int x,
int y,
int z)
Returns a block without checking the parameters first.
|
CoreData |
CompleteMap.getBlock(int x,
int y,
int z) |
abstract CoreData |
AbstractPosition.getBlockSafe()
Slower than getBlock().
|
CoreData |
Coordinate.getBlockSafe()
Checks of coordinates are valid before fetching the RenderBlock.
|
CoreData |
Point.getBlockSafe() |
CoreData[][][] |
Chunk.getData()
Returns the data of the chunk
|
CoreData[][][] |
CompleteMap.getData()
Get the data of the map
|
CoreData |
AbstractMap.getGroundBlock() |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractMap.setBlock(Coordinate coord,
CoreData block)
Replace a block.
|
void |
Chunk.setBlock(Coordinate coord,
CoreData block) |
void |
ChunkMap.setBlock(Coordinate coord,
CoreData block) |
void |
CompleteMap.setBlock(Coordinate coord,
CoreData block) |
void |
Coordinate.setBlock(CoreData block)
Set a block in the map where the coordinate is pointing to.
|
Modifier and Type | Method and Description |
---|---|
CoreData |
CameraSpaceIterator.next()
Loops over the map areas covered by the camera.
|
CoreData |
MemoryMapIterator.next()
Loops over the complete map.
|
Modifier and Type | Method and Description |
---|---|
void |
PlacableGUI.setBlock(CoreData block) |