Logo Search packages:      
Sourcecode: matrem version File versions  Download package

yourcreature.cpp

#include "yourcreature.h"

yourcreature::yourcreature(yourcreature *parent=NULL) : creature(parent)
{
  species=YOURCREATURE;
  hitpoints=100;
  power=100;
  health=100;
  speed=100;
  diet=atdiet[GRASS];
  terrain=atterrain[VOID];
  preparecreature(parent);
}  

void yourcreature::choosejob()
{
  job=SLEEP;
}













Generated by  Doxygen 1.6.0   Back to index