PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
PixelBullet::Scene Class Reference

Public Member Functions

ID CreateEntity ()
 
void DestroyEntity (ID id)
 
template<typename T , typename... Args>
T & AddComponent (ID id, Args &&... args)
 
template<typename T >
void RemoveComponent (ID id)
 
template<typename T >
bool HasComponent (ID id) const
 
template<typename T >
T & GetComponent (ID id)
 
template<typename T >
const SparseSet< T > & GetComponentSet () const
 
void SaveToFile (const std::string &path) const
 
void LoadFromFile (const std::string &path)
 

Friends

Nodeoperator<< (Node &node, const Scene &scene)
 
const Nodeoperator>> (const Node &node, Scene &scene)
 

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