engine-mk1
Classes | Typedefs
rz::core Namespace Reference

Components carry the data for a specific feature. More...

Classes

class  Component
 The base class for a Component. More...
 
struct  ComponentType
 Denotes the type of a derived Component object. More...
 
struct  ComponentTypeCmp
 
class  Entity
 The Entity class used for storing and getting Component Handles. More...
 
class  Space
 The Space class handles processing of System updates. More...
 
class  System
 The abstract base class for a System. More...
 
struct  SystemGraphData
 The data to be held by the SystemGraph. More...
 

Typedefs

using ComponentHandle = std::pair< ComponentType, Handle >
 Combines the size and position info of a Handle with the type information of a ComponentType. More...
 
using ComponentMap = std::map< ComponentType, Handle, ComponentTypeCmp >
 A std::map type mapping Component Handles to their ComponentTypes. More...
 
using ComponentArgs = std::pair< ComponentType, std::shared_ptr< void >>
 
using EntityMap = std::map< UUID64, Entity, UUID64Cmp >
 
using SystemGraph = rz::graph::Graph< std::shared_ptr< System >, char, SystemGraphData >
 
using SystemGraphVertex = rz::graph::Vertex< std::shared_ptr< System >, char >
 
using SystemGraphEdge = rz::graph::Edge< char >
 

Detailed Description

Components carry the data for a specific feature.

Systems manage the memory, events and logic for related components.

A space is an abstract partition for a group of entities and their related systems.

Entities are a way of organizing related components into groups.

For more information and examples, see page Core.

Typedef Documentation

using rz::core::ComponentHandle = typedef std::pair<ComponentType, Handle>

Combines the size and position info of a Handle with the type information of a ComponentType.

A std::map type mapping Component Handles to their ComponentTypes.