Exemple #1
0
 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;
 }
Exemple #2
0
 public void AppendCoords(Coord pos, short angle)
 {
     PrevPos.Set(Pos);
     this.Pos.x = pos.x;
     this.Pos.y = pos.y;
     this.Angle = angle;
 }
Exemple #3
0
 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);
 }
Exemple #4
0
 public void AddToCoords(Coord pos)
 {
     PrevPos.Set(Pos);
     this.Pos.x += pos.x;
     this.Pos.y += pos.y;
 }
Exemple #5
0
 public void AppendCoords(uint x, uint y)
 {
     PrevPos.Set(Pos);
     this.Pos.x = x;
     this.Pos.y = y;
 }
Exemple #6
0
 public void AppendCoords(Coord pos)
 {
     PrevPos.Set(Pos);
     this.Pos.x = pos.x;
     this.Pos.y = pos.y;
 }