tModLoader v2024.03
A mod to make and play Terraria mods
Actions.Players.MoveWithAcceleration Class Reference

Inherits Actions.Players.IPlayerAction, and IAnimationSegmentAction< Player >.

Public Member Functions

 MoveWithAcceleration (Vector2 offsetPerFrame, Vector2 accelerationPerFrame, int durationInFrames)
 
void ApplyTo (Player obj, float localTimeForObj)
 
void BindTo (Player obj)
 
void SetDelay (float delay)
 
- Public Member Functions inherited from IAnimationSegmentAction< Player >
void ApplyTo (T obj, float localTimeForObj)
 
void BindTo (T obj)
 
void SetDelay (float delay)
 

Properties

int ExpectedLengthOfActionInFrames [get]
 
- Properties inherited from IAnimationSegmentAction< Player >
int ExpectedLengthOfActionInFrames [get]