tModLoader v2024.08
A mod to make and play Terraria mods
Segments.AnimationSegmentWithActions< T > Class Template Referenceabstract

Inherits IAnimationSegment.

Public Member Functions

 AnimationSegmentWithActions (int targetTime)
 
abstract void Draw (ref GameAnimationSegment info)
 
AnimationSegmentWithActions< T > Then (IAnimationSegmentAction< T > act)
 
AnimationSegmentWithActions< T > With (IAnimationSegmentAction< T > act)
 
void Draw (ref GameAnimationSegment info)
 

Protected Member Functions

abstract void Bind (IAnimationSegmentAction< T > act)
 
void ProcessActions (T obj, float localTimeForObject)
 

Protected Attributes

int _targetTime
 

Properties

float DedicatedTimeNeeded [get]
 
- Properties inherited from IAnimationSegment
float DedicatedTimeNeeded [get]
 

Member Function Documentation

◆ Draw()

abstract void Segments.AnimationSegmentWithActions< T >.Draw ( ref GameAnimationSegment  info)
pure virtual

Implements IAnimationSegment.

Property Documentation

◆ DedicatedTimeNeeded

float Segments.AnimationSegmentWithActions< T >.DedicatedTimeNeeded
get

Implements IAnimationSegment.