registry
Class SystemRegistry

java.lang.Object
  extended by registry.SystemRegistry

public class SystemRegistry
extends java.lang.Object

This singleton class used to allow the controller to interact with the model and backend.

Author:
nadim

Method Summary
 TuringBattleFrame getFrame()
           
static SystemRegistry getInstance()
           
 TuringBattle getModel()
           
 void setModel(TuringBattle model)
          Set the TuringBattle model
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SystemRegistry getInstance()
Returns:
the singleton instance of this class

getFrame

public TuringBattleFrame getFrame()
Returns:
the frame

getModel

public TuringBattle getModel()
Returns:
the model

setModel

public void setModel(TuringBattle model)
Set the TuringBattle model

Parameters:
model -