public void move() {
//if(!lifeCycle.isNotDyingForHunger())
//{
lifeCycle.move();
getNextOrientation();
SimGenPoint move = new SimGenPoint(0, 0);
switch (orientation) {
case FORWARD:
move = new SimGenPoint(0, 2);
break;
case RIGHT:
move = new SimGenPoint(2, 1);
break;
case RIGHT_RIGHT:
move = new SimGenPoint(2, -1);
break;
case BACKWARDS:
move = new SimGenPoint(0, -2);
break;
case LEFT_LEFT:
move = new SimGenPoint(-2, -1);
break;
case LEFT:
move = new SimGenPoint(-2, 1);
break;
}
pos.add(move);
pos.add(max);
pos.normalize(max);