raytracer
Class MapList

java.lang.Object
  extended by raytracer.MapList

public class MapList
extends java.lang.Object

a list, wich contains all maps along with its name


Constructor Summary
MapList()
           
 
Method Summary
 void add(java.lang.String name, Map map)
           
 Map get(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapList

public MapList()
Method Detail

add

public void add(java.lang.String name,
                Map map)
Parameters:
name - name of the map
map - the map itself

get

public Map get(java.lang.String name)
Parameters:
name - the name of the wanted map
Returns:
the map with the given name