SpriteBaseMapPlayerToInputs Method |
Namespace: (Default Namespace)
public virtual void MapPlayerToInputs( int PlayerNumber )
Before the inputs are mapped from the player's input device to the sprite, the existing inputs are copied from inputs to oldinputs so other rules will be able to determine which inputs were pressed before.
The input device is defined by the player at runtime, and may come from a joystick, gamepad or keyboard.