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

◆ TopRight

Vector2 Terraria.Entity.TopRight
getsetinherited

Definition at line 152 of file Entity.cs.

153 {
154 get
155 {
156 //IL_001e: Unknown result type (might be due to invalid IL or missing references)
157 return new Vector2(position.X + (float)width, position.Y);
158 }
159 set
160 {
161 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
162 //IL_000f: Unknown result type (might be due to invalid IL or missing references)
163 //IL_0015: Unknown result type (might be due to invalid IL or missing references)
164 //IL_001a: Unknown result type (might be due to invalid IL or missing references)
165 position = new Vector2(value.X - (float)width, value.Y);
166 }
167 }
Vector2 position
The position of this Entity in world coordinates.
Definition Entity.cs:28
int width
The width of this Entity's hitbox, in pixels.
Definition Entity.cs:46

Referenced by Terraria.Collision.StepConveyorBelt().