private void moveToCell(int dir, int[][] gameBoard){
		if (dir == 0){
			if (gameBoard[this.x][this.y-1] == 5)
				this.y= 27;
			else
				this.y--;
		}
		else if (dir == 1)
			this.x--;
		else if (dir == 2)
			if (gameBoard[this.x][this.y+1] == 6)
				this.y= 0;
			else
				this.y++;
		else if (dir == 3)
			this.x++;
		else
			return;
		this.facing= dir;
		if (gameBoard[x][y] == 1){	//eats whats ever on the board at this spot
			gameBoard[x][y]= 4;
			game.decFood();
		}
		else if (gameBoard[x][y] == 2){
			gameBoard[x][y]= 4;
			this.game.mightyMode(true);
		}
		else if (gameBoard[x][y] == 3){
			gameBoard[x][y]= 4;
			this.game.superMode(true);
		}	
	}