uk.org.redfelineninja.risk.io
Class MapDefinition

java.lang.Object
  |
  +--uk.org.redfelineninja.risk.io.MapDefinition

public class MapDefinition
extends java.lang.Object

This class reads and parses Risk Map definition files.

Version:
0.9
Author:
Daniel Thompson, Feb. 1999

Constructor Summary
MapDefinition(java.io.File def)
           
 
Method Summary
 Adjacency getAdjacency()
           
 java.util.Hashtable getContinents()
           
 java.io.File getImageFile()
           
 java.util.Hashtable getSeeds()
           
static void main(java.lang.String[] args)
          Use this class to load the supplied preferences file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapDefinition

public MapDefinition(java.io.File def)
              throws java.io.FileNotFoundException
Method Detail

main

public static void main(java.lang.String[] args)
Use this class to load the supplied preferences file. When called as an application this method can be used to verify that the prefs file is correct.


getAdjacency

public Adjacency getAdjacency()

getSeeds

public java.util.Hashtable getSeeds()

getContinents

public java.util.Hashtable getContinents()

getImageFile

public java.io.File getImageFile()