|
Entity * | addEntity () |
|
Entity * | addEntity (const std::string &name) |
|
Entity * | addEntity (uuids::uuid uuid) |
|
Entity * | addEntity (uuids::uuid uuid, const std::string &name) |
|
Entity * | getEntity (uuids::uuid entityID) |
|
template<typename... T> |
auto | getEntities () const |
|
template<typename... T> |
auto | getEntities (auto &&exclude) const |
|
const auto & | getEntities () const |
|
bool | hasEntity (uuids::uuid entityID) |
|
void | removeEntity (uuids::uuid entityID) |
|
template<typename T , typename... Args> |
T & | addComponent (Args &&...args) |
|
template<typename T > |
void | addTagComponent () |
|
template<typename T > |
T & | getComponent () |
|
template<typename T > |
const T & | getComponent () const |
|
template<typename T > |
T * | tryGetComponent () |
|
template<typename T > |
const T * | tryGetComponent () const |
|
template<typename T > |
bool | hasComponent () const |
|
template<typename T > |
void | tryRemoveComponent () |
|
template<typename T > |
void | removeComponent () |
|
CameraComponent * | getCamera () |
|
void | setupForRender (glm::vec2i size) |
|
entt::registry & | getRegistry () |
|
const entt::registry & | getRegistry () const |
|
std::string | getName () const |
|
uuids::uuid | getUUID () const |
|
entt::entity | getRawHandle () const |
|
bool | operator== (const Scene &other) const |
|
bool | operator!= (const Scene &other) const |
|
|
| Scene (const std::string &name) |
|
Definition at line 16 of file Scene.h.
The documentation for this class was generated from the following files: