rl.leviathan.mapping
Class CapitalShipTheme

java.lang.Object
  extended by rl.common.mapping.GameElementTheme
      extended by rl.leviathan.mapping.CapitalShipTheme

public class CapitalShipTheme
extends GameElementTheme


Nested Class Summary
 
Nested classes/interfaces inherited from class rl.common.mapping.GameElementTheme
GameElementTheme.ThemeImage
 
Constructor Summary
CapitalShipTheme()
           
 
Method Summary
 java.lang.String getGameElementType()
           
 java.util.Vector<GameElementTheme.ThemeImage> getImages(java.awt.Rectangle bounds, Location location)
           
 rl.leviathan.mapping.CapitalShipTheme.SideInformation getRolledSideInformation(int side)
           
 rl.leviathan.mapping.CapitalShipTheme.SideInformation getUprightSideInformation(int side)
           
 void loadFromFile(java.io.File f)
           
 void setRolledSideInformation(int side, rl.leviathan.mapping.CapitalShipTheme.SideInformation SideInformation)
           
 void setUprightInformation(int side, rl.leviathan.mapping.CapitalShipTheme.SideInformation SideInformation)
           
 
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

CapitalShipTheme

public CapitalShipTheme()
Method Detail

getGameElementType

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

setUprightInformation

public void setUprightInformation(int side,
                                  rl.leviathan.mapping.CapitalShipTheme.SideInformation SideInformation)

getUprightSideInformation

public rl.leviathan.mapping.CapitalShipTheme.SideInformation getUprightSideInformation(int side)

setRolledSideInformation

public void setRolledSideInformation(int side,
                                     rl.leviathan.mapping.CapitalShipTheme.SideInformation SideInformation)

getRolledSideInformation

public rl.leviathan.mapping.CapitalShipTheme.SideInformation getRolledSideInformation(int side)

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