SpriteBaseInputBits Enumeration |
Contains all the possible bits that can be set in a sprite's
inputs and
oldinputs properties.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax [FlagsAttribute]
public enum InputBits
Members
| Member name | Value | Description |
---|
| Up | 1 |
Refers to an input that causes the sprite to move up or accelerate
|
| Right | 2 |
Refers to an input that causes the sprite to move or turn right
|
| Down | 4 |
Refers to an input that causes the sprite to move down or decelerate
|
| Left | 8 |
Refers to an input that causes the sprite to move or turn left
|
| Button1 | 16 |
Refers to 1 of 4 customizable inputs on the sprite.
|
| Button2 | 32 |
Refers to 1 of 4 customizable inputs on the sprite.
|
| Button3 | 64 |
Refers to 1 of 4 customizable inputs on the sprite.
|
| Button4 | 128 |
Refers to 1 of 4 customizable inputs on the sprite.
|
Remarks Multiple bits may be set at once if multiple inputs are being pressed on this
sprite at the same time.
See Also