tModLoader v2024.08
A mod to make and play Terraria mods
Actions.Sprites.SimulateGravity Class Reference

Inherits Actions.Sprites.ISpriteAction, and IAnimationSegmentAction< Segments.LooseSprite >.

Public Member Functions

 SimulateGravity (Vector2 initialVelocity, Vector2 gravityPerFrame, float rotationPerFrame, int duration)
 
void ApplyTo (Segments.LooseSprite obj, float localTimeForObj)
 
void BindTo (Segments.LooseSprite obj)
 
void SetDelay (float delay)
 
- Public Member Functions inherited from IAnimationSegmentAction< Segments.LooseSprite >
void ApplyTo (T obj, float localTimeForObj)
 
void BindTo (T obj)
 
void SetDelay (float delay)
 

Properties

int ExpectedLengthOfActionInFrames [get]
 
- Properties inherited from IAnimationSegmentAction< Segments.LooseSprite >
int ExpectedLengthOfActionInFrames [get]