games
Class DesignGuide

java.lang.Object
  extended by legacy.Legacy
      extended by games.DesignGuide
Direct Known Subclasses:
ExtendedDesignGame

public class DesignGuide
extends Legacy

DesignGuide.class is used during creation of the Hêbê to ensure that a satifactory archetecture is created.

Author:
Benjamin Tarrant

Field Summary
 
Fields inherited from class legacy.Legacy
applicationName, isRunning
 
Constructor Summary
DesignGuide(java.lang.String[] args)
          Only required constructor to instanciate the Hêbê(legacy) engine
 
Method Summary
 Configuration getConfiguration(java.lang.String[] args)
          getConfiguration() is called once and is used to prepair the enviroment
static void main(java.lang.String[] args)
          Application entry point.
 void render(VideoAdapter v)
          render(Video v) handles all rendering
 boolean updateGame(long gameTime)
          updateGame(long gameTime) is called to allow the game to update its state
 
Methods inherited from class legacy.Legacy
getConstructionLock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesignGuide

public DesignGuide(java.lang.String[] args)
Only required constructor to instanciate the Hêbê(legacy) engine

Parameters:
args - argument to handle and parse on to configuration methods
Method Detail

render

public void render(VideoAdapter v)
render(Video v) handles all rendering

Specified by:
render in class Legacy
Parameters:
v - Video output class
See Also:
Legacy.getConfiguration(java.lang.String[]), Configuration

updateGame

public boolean updateGame(long gameTime)
updateGame(long gameTime) is called to allow the game to update its state

Specified by:
updateGame in class Legacy
Parameters:
gameTime - time in Nano Seconds since last call
Returns:
true to request to be recalled false otherwize

getConfiguration

public Configuration getConfiguration(java.lang.String[] args)
getConfiguration() is called once and is used to prepair the enviroment

Specified by:
getConfiguration in class Legacy
Parameters:
args - arguments eventualy parsed from super(args) construction
Returns:
Configuration to be used.
See Also:
Configuration

main

public static void main(java.lang.String[] args)
Application entry point. This methods main method acts as a test bed for the Hêbê system and creates the DesignGuide class which extends the Legacy class.

Parameters:
args - argments to be handled by DesignGuide(String[] args)