tModLoader v2024.12
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
DrawAnimationVertical Class Reference

Inherits DrawAnimation.

Public Member Functions

 DrawAnimationVertical (int ticksperframe, int frameCount, bool pingPong=false)
 
override Rectangle GetFrame (Texture2D texture, int frameCounterOverride=-1)
 
override void Update ()
 
virtual Rectangle GetFrame (Texture2D texture, int frameCounterOverride=-1)
 
virtual void Update ()
 

Public Attributes

bool NotActuallyAnimating
 
bool PingPong
 
- Public Attributes inherited from DrawAnimation
int Frame
 
int FrameCount
 
int FrameCounter
 
int TicksPerFrame
 

Member Function Documentation

◆ GetFrame()

override Rectangle DrawAnimationVertical.GetFrame ( Texture2D  texture,
int  frameCounterOverride = -1 
)
virtual

Reimplemented from DrawAnimation.

◆ Update()

override void DrawAnimationVertical.Update ( )
virtual

Reimplemented from DrawAnimation.