Cogs.Core
Source
Systems
Core
OverlaySystem.h
1
#pragma once
2
3
#include "Systems/ComponentSystem.h"
4
5
#include "Components/Core/OverlayComponent.h"
6
7
namespace
Cogs
8
{
9
namespace
Core
10
{
11
class
Context;
12
16
class
OverlaySystem
:
public
ComponentSystem
<OverlayComponent>
17
{
18
public
:
19
OverlaySystem
(
Memory::Allocator
* allocator,
SizeType
capacity) :
ComponentSystem
(allocator, capacity) {}
20
22
void
update
(
Context
*
context
);
23
};
24
}
25
}
Cogs::Core::ComponentSystemBase::context
Context * context
Pointer to the Context instance the system lives in.
Definition:
ComponentSystem.h:136
Cogs::Core::ComponentSystemBase::update
void update()
Updates the system state to that of the current frame.
Definition:
ComponentSystem.h:65
Cogs::Core::ComponentSystem
Typed component system managing a pool of components with the given ComponentType.
Definition:
ComponentSystem.h:144
Cogs::Core::Context
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Definition:
Context.h:83
Cogs::Core::OverlaySystem
The overlay system handles OverlayComponent instances.
Definition:
OverlaySystem.h:17
Cogs::Memory::Allocator
Base allocator implementation.
Definition:
Allocator.h:30
Cogs
Contains all Cogs related functionality.
Definition:
FieldSetter.h:23
Cogs::SizeType
ComponentIndex SizeType
Type used to track the size of pools.
Definition:
Component.h:19
Generated by
1.9.6