Skip to content

Instantly share code, notes, and snippets.

@chikien276
Last active September 24, 2016 05:39
Show Gist options
  • Save chikien276/fe75ae81100be3a1a872bd3555e49762 to your computer and use it in GitHub Desktop.
Save chikien276/fe75ae81100be3a1a872bd3555e49762 to your computer and use it in GitHub Desktop.
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