Resonance Game
Team Walterio Fuchsbauer
 All Classes Namespaces Files Functions Variables Enumerations Properties
Resonance.GVMotionManager Class Reference

Handles and provides an interface between button presses and Good Vibe motion. More...

List of all members.

Static Public Member Functions

static void init ()
 Methods.
static void setGVRef (GoodVibe newGV)
static void boost ()
static void resetBoost ()
static void input (KeyboardState kbd, GamePadState pad)
 Takes the state of GV motion input devices and moves the GV based on these.

Static Public Attributes

static readonly float DEFAULT_Z_ACCELERATION = 150f / ResonanceGame.FPS
static readonly float DEFAULT_MAX_Z_SPEED = 1800f / ResonanceGame.FPS
static float MAX_R_SPEED = 4.5f / ResonanceGame.FPS
static float MAX_X_SPEED = 1800f / ResonanceGame.FPS
static float MAX_Z_SPEED = 720f / ResonanceGame.FPS
static float R_ACCELERATION = 0.45f / ResonanceGame.FPS
static float R_DECELERATION = 0.45f / ResonanceGame.FPS
static float X_ACCELERATION = 48f / ResonanceGame.FPS
static float X_DECELERATION = 84f / ResonanceGame.FPS
static float Z_ACCELERATION = 150f / ResonanceGame.FPS
static float Z_DECELERATION = 60f / ResonanceGame.FPS
static float R_SPEED = 0.00f
static float X_SPEED = 0.00f
static float Z_SPEED = 0.00f
static float BOOST_POWER = 2.00f
static bool BOOSTING = false
static bool initialised = false

Detailed Description

Handles and provides an interface between button presses and Good Vibe motion.


Member Function Documentation

static void Resonance.GVMotionManager.boost ( ) [static]

Here is the caller graph for this function:

static void Resonance.GVMotionManager.init ( ) [static]

Methods.

Here is the call graph for this function:

Here is the caller graph for this function:

static void Resonance.GVMotionManager.input ( KeyboardState  kbd,
GamePadState  pad 
) [static]

Takes the state of GV motion input devices and moves the GV based on these.

Parameters:
kbdCurrent keyboard state.
padCurrent game pad state.

Here is the call graph for this function:

Here is the caller graph for this function:

static void Resonance.GVMotionManager.resetBoost ( ) [static]

Here is the caller graph for this function:

static void Resonance.GVMotionManager.setGVRef ( GoodVibe  newGV) [static]

Member Data Documentation

float Resonance.GVMotionManager.BOOST_POWER = 2.00f [static]
bool Resonance.GVMotionManager.BOOSTING = false [static]
readonly float Resonance.GVMotionManager.DEFAULT_MAX_Z_SPEED = 1800f / ResonanceGame.FPS [static]
readonly float Resonance.GVMotionManager.DEFAULT_Z_ACCELERATION = 150f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.MAX_R_SPEED = 4.5f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.MAX_X_SPEED = 1800f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.MAX_Z_SPEED = 720f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.R_ACCELERATION = 0.45f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.R_DECELERATION = 0.45f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.R_SPEED = 0.00f [static]
float Resonance.GVMotionManager.X_ACCELERATION = 48f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.X_DECELERATION = 84f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.X_SPEED = 0.00f [static]
float Resonance.GVMotionManager.Z_ACCELERATION = 150f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.Z_DECELERATION = 60f / ResonanceGame.FPS [static]
float Resonance.GVMotionManager.Z_SPEED = 0.00f [static]

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