Seemed to fulfill all the requirements ,but still not passing. Any eagle eyes ?
package com.codegym.games.snake;
import com.codegym.engine.cell.*;
public class Apple extends GameObject {
public boolean isAlive = true;
public Apple(int x, int y) {
super(x, y);
}
private static final String APPLE_SIGN;
static {
APPLE_SIGN = "\uD83C\uDF4E";
}
public void draw(Game game) {
game.setCellValueEx(x, y, Color.NONE, APPLE_SIGN, Color.RED, 75);
}
}