erland.game.tileadventure
Class RoomObject

java.lang.Object
  extended by erland.game.tileadventure.RoomObject
All Implemented Interfaces:
MapObjectInterface, Cloneable

public class RoomObject
extends Object
implements Cloneable, MapObjectInterface


Constructor Summary
RoomObject()
           
 
Method Summary
 Object clone()
           
 void draw(Graphics g)
           
 MapObjectContainerInterface getBlocks()
           
 Box3D getBoundingBox()
           
 IrregularBlockContainerInterface getContainer()
           
 ParameterSerializable getExtendedLevelInfo()
           
 float getPosX()
           
 float getPosY()
           
 float getPosZ()
           
 void init(GameEnvironmentInterface environment)
           
 void setBlocks(MapObjectContainerInterface maps)
           
 void setContainer(IrregularBlockContainerInterface cont)
           
 void setExtendedLevelInfo(ParameterSerializable extendedLevelInfo)
           
 void setPos(float x, float y, float z)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoomObject

public RoomObject()
Method Detail

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.