test.foxvstux
Class Game

java.lang.Object
  extended by com.jme3.app.Application
      extended by env3d.EnvBasic
          extended by env3d.android.EnvAndroid
              extended by test.foxvstux.Game
All Implemented Interfaces:
com.jme3.system.SystemListener

public class Game
extends EnvAndroid

A predator and prey simulation. Fox is the predator and Tux is the prey.


Field Summary
 
Fields inherited from class env3d.android.EnvAndroid
controller, emulatorMode, game
 
Fields inherited from class env3d.EnvBasic
audioMap, flyCam, guiFont, guiNode, internalObjects, objectsMap, roomObject, rootNode, statusNode, statusText, tpf
 
Fields inherited from class com.jme3.app.Application
assetManager, audioRenderer, cam, context, guiViewPort, inputEnabled, inputManager, joyInput, keyInput, listener, mouseInput, paused, pauseOnFocus, renderer, renderManager, settings, speed, stateManager, timer, touchInput, viewPort
 
Constructor Summary
Game()
           
 
Method Summary
 void loop()
          Play the game
static void main(java.lang.String[] args)
          Main method to launch the program.
 void setup()
           
 
Methods inherited from class env3d.android.EnvAndroid
getGame, getKeyDown, getScreenHeight, getScreenWidth, getTiltX, getTiltY, getTiltZ, getTouchDX, getTouchDY, getTouchX, getTouchY, initialize, isShowController, isTouchEvent, setGame, setShowController, setTilt, update
 
Methods inherited from class env3d.EnvBasic
addObject, destroy, disableLighting, enableLighting, exit, getCameraPitch, getCameraX, getCameraY, getCameraYaw, getCameraZ, getNiftyGUI, getObject, getObjects, getObjects, getPick, getPickList, getPickRay, getRootNode, getVolume, isDefaultControl, isLightingEnabled, removeObject, setCameraPitch, setCameraXYZ, setCameraYaw, setDefaultControl, setDisplayStr, setDisplayStr, setDisplayStr, setRoom, setShowStatus, setVolume, soundLoad, soundLoop, soundPlay, soundPlay, soundStop, start
 
Methods inherited from class com.jme3.app.Application
createCanvas, destroyInput, enqueue, gainFocus, getAssetManager, getAudioRenderer, getCamera, getContext, getGuiViewPort, getInputManager, getListener, getRenderer, getRenderManager, getStateManager, getTimer, getViewPort, handleError, isPauseOnLostFocus, loseFocus, requestClose, reshape, restart, runQueuedTasks, setAssetManager, setPauseOnLostFocus, setSettings, setTimer, start, startCanvas, startCanvas, stop, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Game

public Game()
Method Detail

setup

public void setup()

loop

public void loop()
Play the game


main

public static void main(java.lang.String[] args)
Main method to launch the program.