public void AppendCoords(int x, int y, short angle) { PrevPos.Set(Pos); this.Pos.x = (uint)(this.Pos.x + x); this.Pos.y = (uint)(this.Pos.y + y); this.Angle = angle; }
public void AppendCoords(Coord pos, short angle) { PrevPos.Set(Pos); this.Pos.x = pos.x; this.Pos.y = pos.y; this.Angle = angle; }
public void AddToCoords(int x, int y) { PrevPos.Set(Pos); this.Pos.x = (uint)(this.Pos.x + x); this.Pos.y = (uint)(this.Pos.y + y); }
public void AddToCoords(Coord pos) { PrevPos.Set(Pos); this.Pos.x += pos.x; this.Pos.y += pos.y; }
public void AppendCoords(uint x, uint y) { PrevPos.Set(Pos); this.Pos.x = x; this.Pos.y = y; }
public void AppendCoords(Coord pos) { PrevPos.Set(Pos); this.Pos.x = pos.x; this.Pos.y = pos.y; }