1#ifndef DrawableManager_H
2#define DrawableManager_H
29 DrawableManager() =
default;
30 DrawableManager(
const DrawableManager&) =
delete;
31 DrawableManager& operator=(
const DrawableManager&) =
delete;
Base class for objects that can be drawn in the game loop.
Definition Drawable.h:19
std::list< Drawable * > StorageList
Type alias for the storage list of drawable GameObjects.
Definition DrawableManager.h:21
void Deregister(Drawable *dr)
Deregisters a drawable GameObject.
Definition DrawableManager.cpp:15
void Register(Drawable *dr)
Registers a drawable GameObject.
Definition DrawableManager.cpp:10
void ProcessElements()
Processes the drawing of all registered GameObjects.
Definition DrawableManager.cpp:20
StorageList storageList
The storage list of drawable GameObjects.
Definition DrawableManager.h:26
StorageList::iterator StorageListRef
Type alias for the storage list iterator.
Definition DrawableManager.h:54