public interface SnakeUserInterface extends GridScreen, StatusBar, Input, AnimationEventSystem
GridScreen
,
StatusBar
, AnimationEventSystem
and Input
.
Modifier and Type | Field and Description |
---|---|
static int |
EMPTY
The constant to be used in
GridScreen.place(int, int, int)
to empty a position. |
static int |
FOOD
The constant to be used in
GridScreen.place(int, int, int)
to place food. |
static int |
SNAKE
The constant to be used in
GridScreen.place(int, int, int)
to place a piece of snake. |
static int |
WALL
The constant to be used in
GridScreen.place(int, int, int)
to place a piece of wall. |
clear, place, placeTranslucent, showChanges
clearStatusBar, printf
enableEventProcessing, getEvent
setFramesPerSecond
static final int FOOD
GridScreen.place(int, int, int)
to place food.static final int WALL
GridScreen.place(int, int, int)
to place a piece of wall.static final int SNAKE
GridScreen.place(int, int, int)
to place a piece of snake.static final int EMPTY
GridScreen.place(int, int, int)
to empty a position.