com.jme.app
Class BaseHeadlessApp

java.lang.Object
  extended by com.jme.app.AbstractGame
      extended by com.jme.app.BaseHeadlessApp
Direct Known Subclasses:
SimpleHeadlessApp

public abstract class BaseHeadlessApp
extends AbstractGame

BaseHeadlessApp provides the simplest possible implementation of a main game loop for headless apps. Logic is updated as quickly as possible, with no interpolation to account for shifting frame rates. Rendering occurs "as needed". To make this more interesting, might need to add a finer control over the timer.

Version:
$Id: BaseHeadlessApp.java,v 1.9 2007/10/05 22:43:48 nca Exp $
Author:
Joshua Slack, Mark Powell, Eric Woroshow

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme.app.AbstractGame
AbstractGame.ConfigShowMode
 
Constructor Summary
BaseHeadlessApp()
           
 
Method Summary
 void start()
          The simplest main game loop possible: render and update as fast as possible.
 
Methods inherited from class com.jme.app.AbstractGame
finish, getVersion, setConfigShowMode, setConfigShowMode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseHeadlessApp

public BaseHeadlessApp()
Method Detail

start

public final void start()
The simplest main game loop possible: render and update as fast as possible.

Specified by:
start in class AbstractGame