games
Class ExtendedDesignGame

java.lang.Object
  extended by legacy.Legacy
      extended by games.DesignGuide
          extended by games.ExtendedDesignGame

public class ExtendedDesignGame
extends DesignGuide

ExtendedDesignGame.class various test cases

Author:
Benjamin Tarrant

Field Summary
 
Fields inherited from class legacy.Legacy
applicationName, isRunning
 
Constructor Summary
ExtendedDesignGame(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

ExtendedDesignGame

public ExtendedDesignGame(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

Overrides:
render in class DesignGuide
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

Overrides:
updateGame in class DesignGuide
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

Overrides:
getConfiguration in class DesignGuide
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)