20 #ifndef __ACTORCOMP_INC__
21 #define __ACTORCOMP_INC__
107 virtual bool save ( QSettings & s )
const;
110 virtual bool load ( QSettings & s );
113 inline bool isValid (
void )
const
114 {
return ( ( cost_ > 0 ) && ( energy_ > 0 ) ); }
121 QString myName (
void )
const;
131 inline quint64 cost (
void )
const
136 inline quint64 energy (
void )
const
143 void setCost ( quint64 new_val )
147 void setEnergy ( quint64 new_val )
148 { energy_ = new_val; }
151 virtual void doSteps (
int steps )
152 { Q_UNUSED( steps ); }
172 #endif // __ACTORCOMP_INC__