tModLoader v2024.05
A mod to make and play Terraria mods
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 

Reimplemented from DrawAnimation.

◆ Update()

override void DrawAnimationVertical.Update ( )

Reimplemented from DrawAnimation.