|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use C_Arena | |
---|---|
de.farafin.snEADy.world |
Uses of C_Arena in de.farafin.snEADy.world |
---|
Fields in de.farafin.snEADy.world declared as C_Arena | |
---|---|
private C_Arena |
C_World.arena
arena of the game |
Methods in de.farafin.snEADy.world with parameters of type C_Arena | |
---|---|
private void |
C_Snake.actualizateSnakeLength(C_Arena arena,
D_Vec2D lastPos)
|
private void |
C_Snake.computeKillPoints(C_Arena arena,
C_Snake snake,
boolean died)
computes the kill points for other snakes if this one looses a segment or is killed |
private void |
C_Snake.die(C_Arena arena,
C_Snake killer)
kills the snake |
private char |
C_Snake.getCharDirHead(C_Arena arena,
int direction)
checs which char is in direction of direction<\code>. |
protected D_Vec2D |
C_GameObject.getNextPosInFaceDirection(C_Arena arena)
returns the next position if the object would move one fieled in its face direction. |
protected void |
C_Goody.jumpTo(D_Vec2D pos,
C_Arena arena)
|
protected abstract void |
C_GameObject.jumpTo(D_Vec2D pos,
C_Arena arena)
moves the object with all its positions to the specific position. |
protected void |
C_Snake.jumpTo(D_Vec2D pos,
C_Arena arena)
turns the head of the object to left_right |
protected void |
C_Snake.moveToFace(C_Arena arena)
let the object move one field to the direction of its head it is necessary, that there it is computed here what happands if the object runns into a wall.. |
private D_Vec2D |
C_Snake.removeLastSegments(C_Arena arena,
int n)
|
private void |
C_Snake.turnHead(C_Arena arena)
turns the head to the direction pilot |
protected void |
C_GLength.update(C_Arena arena)
|
protected abstract void |
C_Goody.update(C_Arena arena)
|
protected void |
C_GSpeed.update(C_Arena arena)
|
protected void |
C_GPoints.update(C_Arena arena)
|
protected abstract void |
C_GameObject.update(C_Arena arena)
the update call meens that the object should do what ever it does usually |
protected void |
C_Snake.update(C_Arena arena)
|
protected void |
C_Goody.wasEaten(C_Snake snake,
C_Arena arena)
this method is called when the goody was eaten by a snake. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |