Class Field
java.lang.Object
|
+----Field
- class Field
- extends Object
Sorry, not documented yet.
Source
-
bojng
-
-
freeBlocks
-
-
height
- Number of blocks (0,0)=links oben
-
itemCnt
-
-
items
-
-
rand
-
-
timedItems
-
-
urlBase
-
-
width
- Number of blocks (0,0)=links oben
-
Field(BojngInterface, URL, Canvas)
-
-
clear()
-
-
createBlock(char)
-
-
explodeAllBlocks()
-
-
getFreeBlock()
-
-
getItem(int, int)
-
-
loadLevel(int)
-
-
placeItem(int, int, Item)
- setzt + initialisiert ein Item
-
placeRandom(int)
-
-
removeItem(int, int)
-
-
tick()
-
width
final int width
- Number of blocks (0,0)=links oben
height
final int height
- Number of blocks (0,0)=links oben
items
Item items[][]
freeBlocks
Vector freeBlocks
timedItems
Vector timedItems
itemCnt
int itemCnt
bojng
BojngInterface bojng
urlBase
URL urlBase
rand
Random rand
Field
Field(BojngInterface bojng,
URL urlBase,
Canvas canvas)
clear
synchronized void clear()
loadLevel
synchronized String loadLevel(int n)
createBlock
Item createBlock(char chr)
placeItem
synchronized void placeItem(int x,
int y,
Item i)
- setzt + initialisiert ein Item
removeItem
public synchronized boolean removeItem(int x,
int y)
explodeAllBlocks
synchronized void explodeAllBlocks()
getItem
synchronized Item getItem(int x,
int y)
getFreeBlock
synchronized Point getFreeBlock()
placeRandom
synchronized void placeRandom(int ms)
tick
synchronized void tick()