2013/4/16
2013/4/17
private void setDirection() { int holdDir = direction; direction = (Greenfoot.getRandomNumber(3) + 3 + holdDir) % 4; if (!canMove()) direction = holdDir; setRotation(90 * direction); }
X