17 lines
350 B
Plaintext
17 lines
350 B
Plaintext
class Block {
|
|
int x;
|
|
int y;
|
|
float h;
|
|
boolean isTree;
|
|
boolean isFlower;
|
|
int treeSize;
|
|
color treeColor;
|
|
Block(int x, int y, float h, color treeColor, int treeSize) {
|
|
this.x = x;
|
|
this.y = y;
|
|
this.h = h;
|
|
this.treeColor = treeColor;
|
|
this.treeSize = treeSize;
|
|
}
|
|
}
|