5#include "UpdatableManager.h"
22 Updatable(
const Updatable&) =
delete;
23 Updatable& operator=(
const Updatable&) =
delete;
37 friend class UpdatableAttorney;
Defines the registration states for GameObjects.
RegistrationState
Enum class representing the registration states of GameObjects.
Definition RegistrationState.h:19
void SceneRegistration()
Registers the GameObject for updates in the scene.
Definition Updatable.cpp:36
void SubmitUpdateDeregistration()
Submits the update deregistration for the GameObject.
Definition Updatable.cpp:27
UpdateDeregistrationCommand * ptrUpdateDeregistrationCmd
Pointer to the update deregistration command for the GameObject.
Definition Updatable.h:52
void SceneDeregistration()
Deregisters the GameObject from updates in the scene.
Definition Updatable.cpp:43
RegistrationState RegStateCurr
The current registration state of the GameObject.
Definition Updatable.h:42
void SubmitUpdateRegistration()
Submits the update registration for the GameObject.
Definition Updatable.cpp:18
UpdatableManager::StorageListRef pMyDeleteRef
Reference to the storage list iterator for the GameObject.
Definition Updatable.h:57
UpdateRegistrationCommand * ptrUpdateRegistrationCmd
Pointer to the update registration command for the GameObject.
Definition Updatable.h:47
virtual void Update()
Virtual method to be implemented by derived classes for update functionality.
Definition Updatable.h:62
StorageList::iterator StorageListRef
Type alias for the storage list iterator.
Definition UpdatableManager.h:56
Command to deregister an updatable object from updates.
Definition UpdateDeregistrationCommand.h:17
Command to register an updatable object for updates.
Definition UpdateRegistrationCommand.h:17