Click or drag to resize
SpriteBaseoldinputs Field
Remembers the inputs that were active on this sprite in the previous frame

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public SpriteBaseInputBits oldinputs

Field Value

Type: SpriteBaseInputBits
Remarks
This value is used to determine when a player (or other input source) has just started pressing an input versus continued pressing an input that was already pressed. It is copied from inputs when MapPlayerToInputs(Int32) is called.
See Also