kick
|
Public Member Functions | |
GameObject (const GameObject &other) | |
GameObject (GameObject &&other) | |
GameObject & | operator= (GameObject &&other) |
template<typename C , typename... T> | |
std::shared_ptr< C > | addComponent (T...t) |
template<typename C > | |
std::shared_ptr< C > | component () |
template<typename C > | |
std::vector< std::shared_ptr< C > > | components () |
template<typename C > | |
std::shared_ptr< C > | componentInParent () |
template<typename C > | |
std::vector< std::shared_ptr< C > > | componentsInParent () |
template<typename C > | |
std::shared_ptr< C > | componentInChildren () |
template<typename C > | |
std::vector< std::shared_ptr< C > > | componentsInChildren () |
bool | destroyComponent (std::shared_ptr< Component > component) |
ConstComponentIter | begin () const |
ConstComponentIter | end () const |
ComponentIter | begin () |
ComponentIter | end () |
std::string | name () const |
void | setName (std::string str) |
std::shared_ptr< Transform > | transform () |
Scene * | scene () |
int | layer () const |
void | setLayer (int layer) |
int32_t | uniqueId () |
Public Attributes | |
Event< std::pair < std::shared_ptr< Component > , ComponentUpdateStatus > > | componentEvent |
Friends | |
class | Scene |
Definition at line 24 of file game_object.h.