kick
Public Member Functions | Public Attributes | Friends
kick::GameObject Class Reference

List of all members.

Public Member Functions

 GameObject (const GameObject &other)
 GameObject (GameObject &&other)
GameObjectoperator= (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< Transformtransform ()
Scenescene ()
int layer () const
void setLayer (int layer)
int32_t uniqueId ()

Public Attributes

Event< std::pair
< std::shared_ptr< Component >
, ComponentUpdateStatus > > 
componentEvent

Friends

class Scene

Detailed Description

Definition at line 24 of file game_object.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables