Add files via upload
This commit is contained in:
16
Block.pde
Normal file
16
Block.pde
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user