Подскажите, пожалуйста, почему?
package com.javarush.games.snake;
import com.javarush.engine.cell.*;
public class SnakeGame extends Game {
public static final int WIDTH = 20;
public static final int HEIGHT = 20;
public Color[] colors = Color.values();
public Apple book;
public void initialize() {
setScreenSize(WIDTH, HEIGHT);
createGame();
}
private void drawScene() {
for (int x = 0; x < WIDTH; x++) {
for (int y = 0; y < HEIGHT; y++) {
setCellColor(x, y, colors[114]);
}
}
}
private void createGame() {
drawScene();
book = new Apple(7, 7);
book.draw(this);
}
}