erland.game.tileadventure
Class DrawMap

java.lang.Object
  extended by erland.game.tileadventure.DrawMap
All Implemented Interfaces:
MapDrawInterface
Direct Known Subclasses:
IsoDiamondDrawMap, RectDrawMap

public abstract class DrawMap
extends Object
implements MapDrawInterface


Constructor Summary
DrawMap()
           
 
Method Summary
 void addObjectMap(MapObjectContainerInterface map)
           
abstract  void draw(Graphics g)
           
protected  IrregularBlockContainerInterface getContainer()
           
protected  MapObjectContainerInterface[] getMaps()
           
 void removeAllObjectMaps()
           
 void setContainer(IrregularBlockContainerInterface cont)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawMap

public DrawMap()
Method Detail

setContainer

public void setContainer(IrregularBlockContainerInterface cont)

getContainer

protected IrregularBlockContainerInterface getContainer()

removeAllObjectMaps

public void removeAllObjectMaps()

addObjectMap

public void addObjectMap(MapObjectContainerInterface map)

getMaps

protected MapObjectContainerInterface[] getMaps()

draw

public abstract void draw(Graphics g)
Specified by:
draw in interface MapDrawInterface


Copyright © 2003-2006 Erland Isaksson. All Rights Reserved.