com.threerings.tudey.client
Class TudeySceneController.PawnState

java.lang.Object
  extended by com.threerings.tudey.client.TudeySceneController.PawnState
Enclosing class:
TudeySceneController

protected static class TudeySceneController.PawnState
extends Object

Records the state of the controlled pawn at the time of an input frame (along with the frame itself).


Field Summary
protected  InputFrame _frame
          The input frame.
protected  Pawn _pawn
          The pawn state.
 
Constructor Summary
TudeySceneController.PawnState(InputFrame frame, Pawn pawn)
          Creates a new pawn state.
 
Method Summary
 InputFrame getFrame()
          Returns a reference to the input frame.
 Pawn getPawn()
          Returns a reference to the pawn.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_frame

protected InputFrame _frame
The input frame.


_pawn

protected Pawn _pawn
The pawn state.

Constructor Detail

TudeySceneController.PawnState

public TudeySceneController.PawnState(InputFrame frame,
                                      Pawn pawn)
Creates a new pawn state.

Method Detail

getFrame

public InputFrame getFrame()
Returns a reference to the input frame.


getPawn

public Pawn getPawn()
Returns a reference to the pawn.