Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.DataStructures.NPCFollowState Class Reference

Public Member Functions

void FollowPlayer (int playerIndex)
 
void StopFollowing ()
 
void Clear (NPC npcToBelongTo)
 
void WriteTo (BinaryWriter writer)
 
void ReadFrom (BinaryReader reader)
 
void Update ()
 

Properties

Vector2 BreadcrumbPosition [get]
 
bool IsFollowingPlayer [get]
 
Player PlayerBeingFollowed [get]
 

Private Member Functions

bool ShouldSync ()
 
void MoveNPCBackHome ()
 
void UpdateBreadcrumbs (Player player)
 

Private Attributes

NPC _npc
 
int? _playerIndexBeingFollowed
 
Vector2 _floorBreadcrumb
 

Detailed Description

Definition at line 6 of file NPCFollowState.cs.


The documentation for this class was generated from the following file: