Update Scene.hpp
Make note of a warcrime in the design.
This commit is contained in:
@@ -16,6 +16,9 @@ namespace CaveGame::Client
|
||||
Scene();
|
||||
virtual ~Scene() = default;
|
||||
|
||||
// TODO if the overriding function *has* to call the original then you're not doing it right.
|
||||
// Whether or not a scene is active should return if CurrentScene == this - Redacted.
|
||||
|
||||
/// This function is called by the SceneManager when a scene is changed.
|
||||
/// @note Make sure to call this base when overriding in derived Scene classes.
|
||||
virtual void Load();
|
||||
|
Reference in New Issue
Block a user