Last active
September 24, 2016 05:39
-
-
Save chikien276/fe75ae81100be3a1a872bd3555e49762 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class plant{ | |
id: string; | |
damage: int; | |
hp: int; | |
attack: int; | |
attkSpeed: int; | |
static final int maxHp = 10; | |
boolean getSpeed(){ | |
return attkSpeed; | |
} | |
} | |
class zoombie{ | |
id: string; | |
attkSpeed: int; | |
damage: int; | |
hp: int; | |
static final int maxHp = 10; | |
void getShot(){ | |
return attkSpeed; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment