Click or drag to resize
SpriteBase.oldinputs 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 SpriteBase. InputBits oldinputs

Field Value

Type: SpriteBase.InputBits
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