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 |
---|---|
int |
getDepth(View view)
Returns the depth of the object.
|
AbstractGameObject |
getGameObject() |
AbstractPosition |
getPosition() |
protected RenderDataDTO(AbstractGameObject object, AbstractPosition pos)
object
- pos
- The coordinates where the object should be renderedpublic int getDepth(View view)
view
- public AbstractPosition getPosition()
public AbstractGameObject getGameObject()