wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::scene::Scene Class Reference

#include <scene.hpp>

Inheritance diagram for wren::scene::Scene:
Collaboration diagram for wren::scene::Scene:

Public Member Functions

auto create_entity (const std::string &name="entity") -> flecs::entity
 
auto world () const -> const flecs::world &
 
auto world () -> flecs::world &
 

Static Public Member Functions

static auto create ()
 

Private Member Functions

 Scene ()=default
 

Private Attributes

flecs::world ecs_
 

Constructor & Destructor Documentation

◆ Scene()

wren::scene::Scene::Scene ( )
privatedefault
Here is the caller graph for this function:

Member Function Documentation

◆ create()

static auto wren::scene::Scene::create ( )
inlinestatic
Here is the call graph for this function:

◆ create_entity()

auto wren::scene::Scene::create_entity ( const std::string & name = "entity") -> flecs::entity

◆ world() [1/2]

auto wren::scene::Scene::world ( ) -> flecs::world&
inline

◆ world() [2/2]

auto wren::scene::Scene::world ( ) const -> const flecs::world&
inline

Member Data Documentation

◆ ecs_

flecs::world wren::scene::Scene::ecs_
private

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