rl.leviathan.mapping
Class LeviathanTheme

java.lang.Object
  extended by rl.common.mapping.Theme
      extended by rl.leviathan.mapping.LeviathanTheme

public class LeviathanTheme
extends Theme


Field Summary
 
Fields inherited from class rl.common.mapping.Theme
m_FeatureList, m_Images, m_Location, m_Name, m_TerrainList
 
Constructor Summary
LeviathanTheme()
           
 
Method Summary
protected  java.util.Vector<java.lang.String> getFeatureImageFileNames(MapHex mapHex)
           
 GameElementTheme getGameElementTheme(GameElement element)
           
 java.util.Vector<java.awt.image.BufferedImage> getGeneratedImages(java.awt.Graphics2D g, MapHex mapHex)
           
 java.lang.String getHexBorderColour()
           
 java.lang.String getTerrainImageFileName(MapHex mapHex)
           
 java.lang.String getTextColour(MapHex mapHex)
           
 void loadFromFile(java.io.File f)
           
 void saveToFile(java.io.File f)
           
 
Methods inherited from class rl.common.mapping.Theme
addFeature, addTerrain, getFeatureImages, getFeatureList, getLocation, getName, getTerrainImage, getTerrainList, setLocation, setName, validateTheme
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeviathanTheme

public LeviathanTheme()
Method Detail

getTerrainImageFileName

public java.lang.String getTerrainImageFileName(MapHex mapHex)
                                         throws java.lang.Exception
Specified by:
getTerrainImageFileName in class Theme
Throws:
java.lang.Exception

getFeatureImageFileNames

protected java.util.Vector<java.lang.String> getFeatureImageFileNames(MapHex mapHex)
                                                               throws java.lang.Exception
Specified by:
getFeatureImageFileNames in class Theme
Throws:
java.lang.Exception

getTextColour

public java.lang.String getTextColour(MapHex mapHex)
                               throws java.lang.Exception
Specified by:
getTextColour in class Theme
Throws:
java.lang.Exception

loadFromFile

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

saveToFile

public void saveToFile(java.io.File f)
Specified by:
saveToFile in class Theme

getHexBorderColour

public java.lang.String getHexBorderColour()
Specified by:
getHexBorderColour in class Theme

getGeneratedImages

public java.util.Vector<java.awt.image.BufferedImage> getGeneratedImages(java.awt.Graphics2D g,
                                                                         MapHex mapHex)
Specified by:
getGeneratedImages in class Theme

getGameElementTheme

public GameElementTheme getGameElementTheme(GameElement element)
                                     throws java.lang.Exception
Specified by:
getGameElementTheme in class Theme
Throws:
java.lang.Exception