public class Earth
extends com.github.git_leon.jfoot.world.AbstractJFootWorld
| Modifier and Type | Field and Description |
|---|---|
static int |
HEIGHT |
static int |
RESOLUTION |
static int |
SCORE_DISPLAY_TIME |
static int |
WIDTH |
| Constructor and Description |
|---|
Earth()
Create a new world.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
init() |
boolean |
isWater(int x,
int y)
Return true, if the specified coordinate shows water.
|
void |
jumpToMap(int map)
Jump to the given map number (1..n).
|
void |
mapFinished(int time)
Game is over.
|
addSprite, containsSprite, removeSpriteact, addObject, getBackground, getCellSize, getColorAt, getHeight, getObjects, getObjectsAt, getWidth, numberOfObjects, removeObject, removeObjects, repaint, setActOrder, setBackground, setBackground, setPaintOrder, showText, started, stoppedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitact, addObject, getBackground, getCellSize, getColorAt, getHeight, getObjects, getObjectsAt, getWidth, numberOfObjects, removeObject, removeObjects, repaint, setActOrder, setBackground, setBackground, setPaintOrder, showText, started, stoppedpublic static final int RESOLUTION
public static final int WIDTH
public static final int HEIGHT
public static final int SCORE_DISPLAY_TIME
public boolean isWater(int x,
int y)
public void jumpToMap(int map)
public void mapFinished(int time)
protected void init()
init in class com.github.git_leon.jfoot.world.AbstractJFootWorld