Exemplo n.º 1
0
 public void move(Grid.gridPos pos, Vector2 realPos)
 {
     this.pos     = pos;
     lastPosition = nextPosition;
     nextPosition = realPos;
 }
Exemplo n.º 2
0
 public void setSpawnPoint(Grid.gridPos pos, Vector2 realPos)
 {
     nextPosition = realPos;
     move(pos, realPos);
 }