Click or drag to resize
PlanBaseCopyInputsToOld Method
Ensure that all the inputs currently being pressed on the specified sprite are henceforth processed as already pressed.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void CopyInputsToOld(
	SpriteBase Sprite
)

Parameters

Sprite
Type: (Default Namespace)SpriteBase
Sprite whose inputs will be shifted.
Remarks
This is usually handled by MapPlayerToInputs(Int32, SpriteBase), but if you have customized the factors that affect the inputs, you may need to manually shift the current inputs into the old inputs to allow correct handling for "InitialOnly" parameters.
See Also