tModLoader v2024.09
A mod to make and play Terraria mods
Actions.NPCs.MoveWithAcceleration Class Reference

Inherits Actions.NPCs.INPCAction, and IAnimationSegmentAction< NPC >.

Public Member Functions

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

Properties

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