TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ DirectionFrom()

Vector2 Terraria.Entity.DirectionFrom ( Vector2 Source)
inlineinherited

Definition at line 298 of file Entity.cs.

299 {
300 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
301 //IL_0006: Unknown result type (might be due to invalid IL or missing references)
302 //IL_0007: Unknown result type (might be due to invalid IL or missing references)
303 //IL_000c: Unknown result type (might be due to invalid IL or missing references)
304 return Vector2.Normalize(Center - Source);
305 }
Vector2 Center
Definition Entity.cs:70

References Terraria.Entity.Center.

Referenced by Terraria.NPC.AI_003_Fighters(), Terraria.NPC.AI_065_Butterflies(), Terraria.NPC.AI_112_FairyCritter(), Terraria.NPC.AI_114_Dragonflies(), Terraria.NPC.AI_120_HallowBoss(), and Terraria.NPC.VanillaAI_Inner().

+ Here is the caller graph for this function: