Bridges-Java  3.4.3
Bridges(Java API)
Public Member Functions | Package Attributes | List of all members
bridges.games.InputHelper Class Reference
Inheritance diagram for bridges.games.InputHelper:
bridges.connect.KeypressListener

Detailed Description

This is a helper class for handling input events and is part of the BRIDGES Game API.

Public Member Functions

 InputHelper ()
 
void keypress (JSONObject keypress)
 
void status ()
 
boolean up ()
 
boolean down ()
 
boolean left ()
 
boolean right ()
 
boolean q ()
 
boolean space ()
 
boolean w ()
 
boolean a ()
 
boolean s ()
 
boolean d ()
 

Package Attributes

boolean upKey
 
boolean downKey
 
boolean leftKey
 
boolean rightKey
 
boolean wKey
 
boolean aKey
 
boolean sKey
 
boolean dKey
 
boolean qKey
 
boolean spaceKey
 

Constructor & Destructor Documentation

◆ InputHelper()

bridges.games.InputHelper.InputHelper ( )

Member Function Documentation

◆ a()

boolean bridges.games.InputHelper.a ( )

◆ d()

boolean bridges.games.InputHelper.d ( )

◆ down()

boolean bridges.games.InputHelper.down ( )

◆ keypress()

void bridges.games.InputHelper.keypress ( JSONObject  keypress)

◆ left()

boolean bridges.games.InputHelper.left ( )

◆ q()

boolean bridges.games.InputHelper.q ( )

◆ right()

boolean bridges.games.InputHelper.right ( )

◆ s()

boolean bridges.games.InputHelper.s ( )

◆ space()

boolean bridges.games.InputHelper.space ( )

◆ status()

void bridges.games.InputHelper.status ( )

◆ up()

boolean bridges.games.InputHelper.up ( )

◆ w()

boolean bridges.games.InputHelper.w ( )

Member Data Documentation

◆ aKey

boolean bridges.games.InputHelper.aKey
package

◆ dKey

boolean bridges.games.InputHelper.dKey
package

◆ downKey

boolean bridges.games.InputHelper.downKey
package

◆ leftKey

boolean bridges.games.InputHelper.leftKey
package

◆ qKey

boolean bridges.games.InputHelper.qKey
package

◆ rightKey

boolean bridges.games.InputHelper.rightKey
package

◆ sKey

boolean bridges.games.InputHelper.sKey
package

◆ spaceKey

boolean bridges.games.InputHelper.spaceKey
package

◆ upKey

boolean bridges.games.InputHelper.upKey
package

◆ wKey

boolean bridges.games.InputHelper.wKey
package

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