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

◆ Right

Vector2 Terraria.Entity.Right
getsetinherited

Definition at line 66 of file Entity.cs.

67 {
68 get
69 {
70 return new Vector2(position.X + (float)width, position.Y + (float)(height / 2));
71 }
72 set
73 {
74 position = new Vector2(value.X - (float)width, value.Y - (float)(height / 2));
75 }
76 }
Vector2 position
Definition Entity.cs:14

Referenced by Terraria.Projectile.AI_144_DD2Pet(), Terraria.Cinematics.DD2Film.DryadPortalFade(), and Terraria.Collision.GetEntityEdgeTiles().