tModLoader v2024.05
A mod to make and play Terraria mods
Actions.Sprites.SetFrameSequence Class Reference

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

Public Member Functions

 SetFrameSequence (int duration, Point[] frameIndices, int timePerFrame, int paddingX=2, int paddingY=2)
 
 SetFrameSequence (Point[] frameIndices, int timePerFrame, int paddingX=2, int paddingY=2)
 
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]