25 #ifndef __I6ENGINE_API_SPAWNPOINTCOMPONENT_H__
26 #define __I6ENGINE_API_SPAWNPOINTCOMPONENT_H__
55 inline void addSpawntype(
const std::string & type) { _spawntypes.push_back(type); }
62 void addSpawntypes(
const std::string & types);
69 void removeSpawntype(
const std::string & type);
76 bool containsSpawntype(
const std::string & type)
const;
91 void setState(
bool b);
97 std::vector<componentOptions> getComponentOptions()
override;
100 std::vector<std::string> _spawntypes;
103 void Init()
override;
#define ISIXE_MODULES_API
void addSpawntype(const std::string &type)
Adds an object type to spawn on this component.
boost::shared_ptr< Message > Ptr
std::map< std::string, std::string > attributeMap
std::string getTemplateName() const override
returns the name this template was registered with
Only defines this object as a spawnpoint For creating a SpawnpointComponent, these keys are possible:...
bool available() const
returns true, if this spawnpoint currently can be used
Component Base Class. All Components must derive from Component.