20 #ifndef __ACTORFACTORY_INC__
21 #define __ACTORFACTORY_INC__
106 virtual FactoryType factoryType (
void )
110 virtual QString factoryName (
void )
111 {
return "Actor.Factory.Default"; }
114 virtual void copyDefaultDNA (
DNA & destination )
115 { destination = default_dna_; }
128 virtual Actor * create ( ID
id );
131 virtual bool save ( QSettings & s )
const;
134 virtual bool load ( QSettings & s );
140 {
return default_dna_; }
143 bool addMyself ( ID
id );
146 void setDNA (
Actor * a,
const DNA & dna );
150 {
setDNA( a, default_dna_ ); }
164 {
initDNA( default_dna_, init ); }
182 #endif // __ACTORFACTORY_INC__