public class Plant extends java.lang.Object implements Bundlable
| Modifier and Type | Class and Description |
|---|---|
static class |
Plant.Seed |
| Modifier and Type | Field and Description |
|---|---|
int |
image |
java.lang.String |
plantName |
int |
pos |
PlantSprite |
sprite |
| Constructor and Description |
|---|
Plant() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(Char ch) |
java.lang.String |
desc() |
boolean |
dontPack() |
void |
effect(int pos,
Char ch) |
void |
restoreFromBundle(Bundle bundle) |
void |
storeInBundle(Bundle bundle) |
void |
wither() |
public java.lang.String plantName
public int image
public int pos
public PlantSprite sprite
public void activate(Char ch)
public void wither()
public void restoreFromBundle(Bundle bundle)
restoreFromBundle in interface Bundlablepublic void storeInBundle(Bundle bundle)
storeInBundle in interface Bundlablepublic java.lang.String desc()
public void effect(int pos,
Char ch)