My Project
 
Loading...
Searching...
No Matches
Plant Class Reference

#include <plant.h>

Inheritance diagram for Plant:
Collaboration diagram for Plant:

Classes

class  Seed
 

Public Member Functions

virtual void activate (Char *ch)
 
void wither ()
 
virtual void restoreFromBundle (Bundle *bundle)
 
virtual void storeInBundle (Bundle *bundle)
 
virtual std::string getClassName ()
 
virtual std::string desc ()
 

Static Public Member Functions

static PlantCreate ()
 

Public Attributes

std::string plantName
 
int image
 
int pos
 
PlantSpritesprite
 

Member Function Documentation

◆ activate()

void Plant::activate ( Char * ch)
virtual

Reimplemented in Dreamweed, Earthroot, Fadeleaf, Firebloom, Icecap, Rotberry, Sorrowmoss, and Sungrass.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Create()

static Plant * Plant::Create ( )
inlinestatic

◆ desc()

virtual std::string Plant::desc ( )
inlinevirtual

◆ getClassName()

virtual std::string Plant::getClassName ( )
inlinevirtual

◆ restoreFromBundle()

void Plant::restoreFromBundle ( Bundle * bundle)
virtual

◆ storeInBundle()

void Plant::storeInBundle ( Bundle * bundle)
virtual

◆ wither()

void Plant::wither ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ image

int Plant::image

◆ plantName

std::string Plant::plantName

◆ pos

int Plant::pos

◆ sprite

PlantSprite* Plant::sprite

The documentation for this class was generated from the following files: