Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit Coding Reference
SpriteBase Class
SpriteBase Methods
AccelerateByInputs Method
AddSpriteHere Method
AlterXVelocity Method
AlterYVelocity Method
Animate Method
Blocked Method
CalculateRotatedState Method
ClearInputs Method
ClearParameters Method
Deactivate Method
GetBounds Method
GetCurrentFramesetFrames Method
GetNearestSpriteIndex Method
GetPolarStateByVector Method
GetRelativePosition Method
IsInputPressed Method
IsInState Method
IsMoving Method
IsOnTile Method
IsPointBlocked Method
IsRidingPlatform Method
LandDownOnPlatform Method
LimitVelocity Method
MapKeyToInput Method
MapMouseToSprite Method
MapPlayerToInputs Method
MoveByVelocity Method
PolarAccelerate Method
ProcessRules Method
PushSprite Method
PushSpriteIntoView Method
PushTowardCategory Method
PushTowardSprite Method
ReactToInertia Method
ReactToPlatform Method
ReactToPush Method
ReactToPushback Method
ReactToSolid Method
RemoveFromCategories Method
RotateVelocity Method
ScrollSpriteIntoView Method
SetInputState Method
SetInputsTowardCategory Method
SetInputsTowardSprite Method
SetSolidity Method
SnapToGround Method
StopRiding Method
SwitchToState Method
TestCollisionMask Method
TestCollisionRect Method
TileActivateSprite Method
TileAddSprite Method
TileCategoryTouched Method
TileChange Method
TileChangeTouched Method
TileTake Method
TileTouchingIndex Method
TileUseUp Method
TouchTiles Method
SpriteBase
MapKeyToInput Method
Associates the state of the specified keyboard key with the specified input on this sprite.
Namespace:
(Default Namespace)
Assembly:
Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
Copy
public
virtual
void
MapKeyToInput
(
Key
key
,
SpriteBase
InputBits
Input
)
Parameters
key
Type:
(Default Namespace)
Key
Which key should be tested
Input
Type:
(Default Namespace)
SpriteBase
InputBits
Which sprite input should be affected
Remarks
This function does not affect
oldinputs
.
See Also
Reference
SpriteBase Class
(Default Namespace) Namespace
Send comments on this topic to
bluemonkmn@users.sourceforge.net