1#ifndef UpdatableManager_H
2#define UpdatableManager_H
5#include "UpdateRegistrationCommand.h"
6#include "UpdateDeregistrationCommand.h"
31 UpdatableManager() =
default;
32 UpdatableManager(
const UpdatableManager&) =
delete;
33 UpdatableManager& operator=(
const UpdatableManager&) =
delete;
Base class for objects that can be updated in the game loop.
Definition Updatable.h:19
void ProcessElements()
Processes the update of all registered GameObjects.
Definition UpdatableManager.cpp:20
void Deregister(Updatable *up)
Deregisters an updatable GameObject.
Definition UpdatableManager.cpp:15
void Register(Updatable *up)
Registers an updatable GameObject.
Definition UpdatableManager.cpp:10
StorageList::iterator StorageListRef
Type alias for the storage list iterator.
Definition UpdatableManager.h:56
std::list< Updatable * > StorageList
Type alias for the storage list of updatable GameObjects.
Definition UpdatableManager.h:23
StorageList storageList
The storage list of updatable GameObjects.
Definition UpdatableManager.h:28