tModLoader v2024.08
A mod to make and play Terraria mods
Actions.Sprites.AScale Class Referenceabstract

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

Inherited by Actions.Sprites.LinearScale, and Actions.Sprites.OutCircleScale.

Public Member Functions

 AScale (Vector2 scaleTarget)
 
 AScale (Vector2 scaleTarget, 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)
 

Protected Member Functions

abstract float GetProgress (float durationInFramesToApply)
 

Protected Attributes

int Duration
 

Properties

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