com.croftsoft.apps.mars.model
Class NullGameAccessor

java.lang.Object
  extended by com.croftsoft.apps.mars.model.NullGameAccessor
All Implemented Interfaces:
GameAccessor

public final class NullGameAccessor
extends Object
implements GameAccessor

Null object implementation of GameAccessor.

Since:
2003-05-12
Version:
2003-05-12
Author:
David Wallace Croft

Field Summary
static NullGameAccessor INSTANCE
           
 
Method Summary
 int getLevel()
           
 Iterator getPath()
           
 TankAccessor getPlayerTankAccessor()
           
 WorldAccessor getWorldAccessor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final NullGameAccessor INSTANCE
Method Detail

getLevel

public int getLevel()
Specified by:
getLevel in interface GameAccessor

getPath

public Iterator getPath()
Specified by:
getPath in interface GameAccessor

getPlayerTankAccessor

public TankAccessor getPlayerTankAccessor()
Specified by:
getPlayerTankAccessor in interface GameAccessor

getWorldAccessor

public WorldAccessor getWorldAccessor()
Specified by:
getWorldAccessor in interface GameAccessor

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)