rl.centurion.mapping
Class BuildingTheme

java.lang.Object
  extended by rl.common.mapping.GameElementTheme
      extended by rl.centurion.mapping.BuildingTheme

public class BuildingTheme
extends GameElementTheme


Nested Class Summary
 
Nested classes/interfaces inherited from class rl.common.mapping.GameElementTheme
GameElementTheme.ThemeImage
 
Constructor Summary
BuildingTheme()
           
 
Method Summary
 java.lang.String getFileName()
           
 java.lang.String getGameElementType()
           
 int getHeight()
           
 java.util.Vector<GameElementTheme.ThemeImage> getImages(java.awt.Rectangle bounds, Location location)
           
 int getWidth()
           
 void loadFromFile(java.io.File f)
           
 void setFileName(java.lang.String fileName)
           
 void setHeight(int height)
           
 void setWidth(int width)
           
 
Methods inherited from class rl.common.mapping.GameElementTheme
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildingTheme

public BuildingTheme()
Method Detail

setFileName

public void setFileName(java.lang.String fileName)

getFileName

public java.lang.String getFileName()

setWidth

public void setWidth(int width)

getWidth

public int getWidth()

setHeight

public void setHeight(int height)

getHeight

public int getHeight()

getGameElementType

public java.lang.String getGameElementType()
Specified by:
getGameElementType in class GameElementTheme

loadFromFile

public void loadFromFile(java.io.File f)
Specified by:
loadFromFile in class GameElementTheme

getImages

public java.util.Vector<GameElementTheme.ThemeImage> getImages(java.awt.Rectangle bounds,
                                                               Location location)
                                                        throws java.lang.Exception
Specified by:
getImages in class GameElementTheme
Throws:
java.lang.Exception