|
Terraria v1.4.4.9
Terraria source code documentation
|
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 |
Definition at line 6 of file NPCFollowState.cs.