public class SiglePlay
extends java.lang.Object
Constructor | Description |
---|---|
SiglePlay() |
create a list of all blocks
|
Modifier and Type | Method | Description |
---|---|---|
Block |
chooseBlockRandomly() |
choose a block randomly
|
Block |
getChosenBlock() |
|
void |
setBlocks(java.util.ArrayList<Block> blocks) |
|
void |
setUer(User user) |
public void setUer(User user)
user
- is bot that in this Class we wanna access the features like colorpublic void setBlocks(java.util.ArrayList<Block> blocks)
blocks
- r all 64 blockspublic Block chooseBlockRandomly()
public Block getChosenBlock()