tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.DataStructures.DrawAnimationVertical Class Reference

Inherits Terraria.DataStructures.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 Terraria.DataStructures.DrawAnimation
int Frame
 
int FrameCount
 
int FrameCounter
 
int TicksPerFrame
 

Member Function Documentation

◆ GetFrame()

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

◆ Update()

override void Terraria.DataStructures.DrawAnimationVertical.Update ( )
virtual