org.xith3d.utility.debug
Class DebugCenter

java.lang.Object
  extended by org.xith3d.utility.debug.DebugCenter
All Implemented Interfaces:
org.jagatoo.input.listeners.InputStateListener, Updatable

public class DebugCenter
extends java.lang.Object
implements Updatable, org.jagatoo.input.listeners.InputStateListener

The Debug Center allows you to dynamically launch a range of utilities on your game to easily debug it. TODO : Add features :)


Constructor Summary
DebugCenter(Xith3DEnvironment env, Updater updater)
           
 
Method Summary
 void onInputStateChanged(org.jagatoo.input.events.InputEvent e, org.jagatoo.input.devices.components.DeviceComponent comp, int delta, int state)
           
 void update(long gameTime, long frameTime, UpdatingThread.TimingMode timingMode)
          Updates this Updatable object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugCenter

public DebugCenter(Xith3DEnvironment env,
                   Updater updater)
Parameters:
env -
loop -
Method Detail

update

public void update(long gameTime,
                   long frameTime,
                   UpdatingThread.TimingMode timingMode)
Updates this Updatable object.

Specified by:
update in interface Updatable
Parameters:
gameTime - the gameTime in Milliseconds
frameTime - the frameTime in Milliseconds (needed time for the last frame)
timingMode - the TimingMode to use for frameTime.

onInputStateChanged

public void onInputStateChanged(org.jagatoo.input.events.InputEvent e,
                                org.jagatoo.input.devices.components.DeviceComponent comp,
                                int delta,
                                int state)
Specified by:
onInputStateChanged in interface org.jagatoo.input.listeners.InputStateListener