GigaPasjans
Loading...
Searching...
No Matches
Phosphorus::ParentGameObject Class Reference

Represents GameObject with children. More...

#include <GameObject.h>

Inheritance diagram for Phosphorus::ParentGameObject:
Collaboration diagram for Phosphorus::ParentGameObject:

Public Member Functions

 ParentGameObject (const String &identifier)
 
virtual void Add (GameObject *object)
 Adds GameObject to parent.
 
- Public Member Functions inherited from Phosphorus::GameObject
std::vector< IBaseParameter * > GetParameters () const
 Returns parameters list.
 
String GetUniqueId () const
 Returns GameObject unique id.
 

Friends

class GameSerializer
 

Additional Inherited Members

- Protected Member Functions inherited from Phosphorus::GameObject
 GameObject (const String &identifier)
 
void addParameter (IBaseParameter *parameter)
 Adds parameter to the list.
 
IBaseParameterfindParameter (const String &name)
 Returns parameter with given name.
 
virtual GameObjectclone ()=0
 Clones GameObject.
 
virtual String GetIdentifer () const =0
 Returns common identifier of GameObject. To be filled by derived class.
 
virtual void onPostLoad ()
 Event called after object load from file.
 
virtual void onPreSerialize ()
 Event called before object gets serialized.
 
- Protected Attributes inherited from Phosphorus::GameObject
StringParameter m_Identifier
 Random GameObject identifier.
 

Detailed Description

Represents GameObject with children.

Member Function Documentation

◆ Add()

virtual void Phosphorus::ParentGameObject::Add ( GameObject * object)
inlinevirtual

Adds GameObject to parent.

Parameters
object

The documentation for this class was generated from the following file: