rp1.simulator
Class SimProperties

java.lang.Object
  extended by rp1.simulator.SimProperties

public class SimProperties
extends java.lang.Object

Used to read properties for simulation. This class is overdue for a serious rewrite.


Constructor Summary
SimProperties(java.lang.Class mainClass)
           
SimProperties(java.lang.Object mainObject, java.lang.String[] args)
           
 
Method Summary
 java.lang.String getFloorPlanFileName()
           
 int getPort()
           
 double getSimulationSpeed()
           
 boolean isGuiEnabled()
           
 boolean isSocketEnabled()
           
 void loadFromResource(java.lang.Object object, java.lang.String resource)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimProperties

public SimProperties(java.lang.Class mainClass)

SimProperties

public SimProperties(java.lang.Object mainObject,
                     java.lang.String[] args)
              throws SimPropertiesException
Throws:
SimPropertiesException
Method Detail

loadFromResource

public void loadFromResource(java.lang.Object object,
                             java.lang.String resource)
                      throws SimPropertiesException
Throws:
SimPropertiesException

getPort

public int getPort()

isGuiEnabled

public boolean isGuiEnabled()

isSocketEnabled

public boolean isSocketEnabled()

getFloorPlanFileName

public java.lang.String getFloorPlanFileName()

getSimulationSpeed

public double getSimulationSpeed()