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

◆ Left

Vector2 Terraria.Entity.Left
getsetinherited

Definition at line 86 of file Entity.cs.

87 {
88 get
89 {
90 //IL_0020: Unknown result type (might be due to invalid IL or missing references)
91 return new Vector2(position.X, position.Y + (float)(height / 2));
92 }
93 set
94 {
95 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
96 //IL_0007: Unknown result type (might be due to invalid IL or missing references)
97 //IL_0017: Unknown result type (might be due to invalid IL or missing references)
98 //IL_001c: Unknown result type (might be due to invalid IL or missing references)
99 position = new Vector2(value.X, value.Y - (float)(height / 2));
100 }
101 }
Vector2 position
The position of this Entity in world coordinates.
Definition Entity.cs:28
int height
The height of this Entity's hitbox, in pixels.
Definition Entity.cs:51

Referenced by Terraria.Projectile.AI_144_DD2Pet(), and Terraria.Player.FindSharpTearsSpot().