env3d.android
Class EnvMobileGame

java.lang.Object
  extended by env3d.android.EnvMobileGame
Direct Known Subclasses:
Game, Game

public abstract class EnvMobileGame
extends java.lang.Object


Field Summary
protected  EnvAndroid env
           
 
Constructor Summary
EnvMobileGame()
           
 
Method Summary
 EnvAndroid getEnv()
           
abstract  void loop()
          The loop() method is called automatically before every screen update.
 void setEnv(EnvAndroid env)
           
abstract  void setup()
          Instead of putting the setup code in the constructor, put it in the setup() method.
 void start()
          Called by the env3d system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

env

protected EnvAndroid env
Constructor Detail

EnvMobileGame

public EnvMobileGame()
Method Detail

setup

public abstract void setup()
Instead of putting the setup code in the constructor, put it in the setup() method.


loop

public abstract void loop()
The loop() method is called automatically before every screen update. No need to write an explicit loop.


getEnv

public EnvAndroid getEnv()
Returns:
the env

setEnv

public void setEnv(EnvAndroid env)
Parameters:
env - the env to set

start

public void start()
Called by the env3d system. Starts the game.