public class RenderDataDTO
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
RenderDataDTO(AbstractGameObject object,
AbstractPosition pos)
Create an Renderobject with a regular Block in the map
|
Modifier and Type | Method and Description |
---|---|
AbstractPosition |
getCoords() |
int |
getDepth() |
AbstractGameObject |
getGameObject() |
protected RenderDataDTO(AbstractGameObject object, AbstractPosition pos)
object
- pos
- The coordinates where the object should be renderedpublic int getDepth()
public AbstractPosition getCoords()
public AbstractGameObject getGameObject()