erland.game.tileadventure
Class RoomObject
java.lang.Object
erland.game.tileadventure.RoomObject
- All Implemented Interfaces:
- MapObjectInterface, Cloneable
public class RoomObject
- extends Object
- implements Cloneable, MapObjectInterface
RoomObject
public RoomObject()
init
public void init(GameEnvironmentInterface environment)
- Specified by:
init
in interface MapObjectInterface
setContainer
public void setContainer(IrregularBlockContainerInterface cont)
- Specified by:
setContainer
in interface MapObjectInterface
getContainer
public IrregularBlockContainerInterface getContainer()
- Specified by:
getContainer
in interface MapObjectInterface
getPosX
public float getPosX()
- Specified by:
getPosX
in interface MapObjectInterface
getPosY
public float getPosY()
- Specified by:
getPosY
in interface MapObjectInterface
getPosZ
public float getPosZ()
- Specified by:
getPosZ
in interface MapObjectInterface
setPos
public void setPos(float x,
float y,
float z)
- Specified by:
setPos
in interface MapObjectInterface
draw
public void draw(Graphics g)
- Specified by:
draw
in interface MapObjectInterface
clone
public Object clone()
- Specified by:
clone
in interface MapObjectInterface
- Overrides:
clone
in class Object
setBlocks
public void setBlocks(MapObjectContainerInterface maps)
getBlocks
public MapObjectContainerInterface getBlocks()
setExtendedLevelInfo
public void setExtendedLevelInfo(ParameterSerializable extendedLevelInfo)
getExtendedLevelInfo
public ParameterSerializable getExtendedLevelInfo()
getBoundingBox
public Box3D getBoundingBox()
- Specified by:
getBoundingBox
in interface MapObjectInterface
Copyright © 2003-2006 Erland Isaksson. All Rights Reserved.