Atlas
0.7.0
Networking protocol for the Worldforge system.
|
8 #include <Atlas/Objects/Anonymous.h>
11 using Atlas::Message::MapType;
13 namespace Atlas {
namespace Objects {
namespace Entity {
39 return copyInstance<AnonymousData>(*
this);
44 if(ANONYMOUS_NO == classNo)
return true;
48 void AnonymousData::fillDefaultObjectInstance(
AnonymousData& data, std::map<std::string, uint32_t>& attr_data)
void free() override
Free an instance of this class, returning it to the memory pool.
void reset() override
Resets the object as it's returned to the pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
double attr_stamp
Last time this object was modified.
AnonymousData * copy() const override
Copy this object.
double attr_stamp_contains
Last time any object that uses this as reference recursively has been modified.
void setType(const std::string &, int)
Set the type of this object.
Starting point for entity hierarchy.
std::vector< double > attr_pos
Position coordinates, usually world is 3D.
void setParent(std::string val)
Set the "parent" attribute.
std::vector< double > attr_velocity
Velocity object is moving, usually world is 3D.
void reset() override
Resets the object as it's returned to the pool.
bool instanceOf(int classNo) const override
Is this instance of some class?