Beispiel #1
0
 public void setPosition(Position pos)
 {
     this.pos = pos;
 }
Beispiel #2
0
 public Cat(int x = 0, int y = 0)
 {
     this.dir = new Direction(1, 0);
     this.score = 0;
     pos = new Position(x, y);
 }