tModLoader v2024.10
A mod to make and play Terraria mods
Actions.NPCs.Variant Class Reference

Inherits Actions.NPCs.INPCAction, and IAnimationSegmentAction< NPC >.

Public Member Functions

 Variant (int variant)
 
void ApplyTo (NPC obj, float localTimeForObj)
 
void BindTo (NPC obj)
 
void SetDelay (float delay)
 
- Public Member Functions inherited from IAnimationSegmentAction< NPC >
void ApplyTo (T obj, float localTimeForObj)
 
void BindTo (T obj)
 
void SetDelay (float delay)
 

Properties

int ExpectedLengthOfActionInFrames [get]
 
- Properties inherited from IAnimationSegmentAction< NPC >
int ExpectedLengthOfActionInFrames [get]