Crossfire Server, Trunk  R20513
CREWrapperArchetype.cpp
Go to the documentation of this file.
1 #include "CREWrapperArchetype.h"
2 #include "CREWrapperObject.h"
3 
5 {
6  myArchetype = arch;
7  myObject = parent;
8 }
9 
11 {
12  myArchetype = arch;
13 }
14 
15 QString CREWrapperArchetype::name() const
16 {
17  return myArchetype->name;
18 }
19 
21 {
22  return myObject;
23 }
CREWrapperArchetype(CREWrapperObject *parent, const archetype *arch)
The archetype structure is a set of rules on how to generate and manipulate objects which point to ar...
Definition: object.h:465
QString name() const
const archetype * myArchetype
void setArchetype(const archetype *arch)
CREWrapperObject * myObject
const char * name
More definite name, like "generate_kobold".
Definition: object.h:466