Public Member Functions | Public Attributes | Static Public Attributes

unlock.state.fastpad_state.FastPadState Class Reference

Inheritance diagram for unlock.state.fastpad_state.FastPadState:
unlock.state.state.UnlockState

List of all members.

Public Member Functions

def __init__
def process_command

Public Attributes

 previous_mode
 mode
 currButton
 button
 selTime
 noop

Static Public Attributes

int UP = 1
int DOWN = 2
int LEFT = 3
int RIGHT = 4
int SELECT_TIME = 2

Member Function Documentation

def unlock.state.fastpad_state.FastPadState.__init__ (   self  ) 
def unlock.state.fastpad_state.FastPadState.process_command (   self,
  command 
)
Update the screen; called periodically on refresh.

Input:
    timeDelta -- (float) Number of seconds since the
previous call to update()
    decision -- (int) Decision, if any; one of UP, DOWN,
LEFT, or RIGHT
    selection -- (int) 1 if a selection was made

Raises an Exception if anything goes wrong.

Reimplemented from unlock.state.state.UnlockState.


Member Data Documentation


The documentation for this class was generated from the following file: