Untitled Game engine no.5  1.0
Public Member Functions | Friends | List of all members
Engine::Scene Class Reference

A container for entities currently in the Scene. More...

#include <Scene.hpp>

Public Member Functions

 Scene ()
 Constructor.
 
 ~Scene ()
 Destructor.
 
Entity CreateEntity (bool empty=false, const Ref< Transform > &tf=nullptr)
 
void DestroyEntity (Entity entity)
 Destroy given entity.
 
ECS GetECS () const
 

Friends

class Entity
 

Detailed Description

A container for entities currently in the Scene.

Member Function Documentation

◆ CreateEntity()

Entity Engine::Scene::CreateEntity ( bool  empty = false,
const Ref< Transform > &  tf = nullptr 
)

Creates an entity

Returns
a new entity

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