ImagoEngine
A C++ 2D game engine built on a sparse-set ECS, with scenes, scheduled systems, events, and action-based input
Loading...
Searching...
No Matches
Class Hierarchy

Go to the graphical class hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 12]
 CImago::ECS::BondA Bond permanently reorders every pool within it so that every Entity that has all of the components in the Bond sits at the front of every pool, in the same index at each. Bonds should be used for iterative systems that will execute every frame in every situation (Rendering, Physics, ect.) becuase the time save from no longer checking whether or not each Entity has every component starts to become significant for these systems
 CImago::ECS::BondHandle< Components >Lightweight view over a Bond. This is returned by value from Nexus::Bond<Components...>() and does not deal with the structural changes relevant for bonds but just provieds an iterorator like SurveyHandle does
 CImago::Engine::BroadcasterBroadcaster acts as ImagoEngine's event system. It lets systems communicate without knowing about eachother
 CImago::ECS::CommandBufferQueues structural changes to apply all at once when there is no iteration going on
 CImago::Engine::EngineControlThe user's only way to talk to the Game from inside a system or Scene load/unload
 CImago::ECS::EntityManagerCreates, destroys, and validates Entity handles
 CImago::Engine::GameThe owner of the engine. Creates the window and every persistent engine object, filling in SceneContext with those objects before passing it down to the Scenes
 CImago::Engine::GameConfigEverything the Game needs to start. Default values for now but will later be filled by a YAML config file
 CImago::Engine::GamepadAxisSourceA gamepad axis motion that drives an action. Reads as a strength rescaled to a dead zone and scaled to a magnitude between 0-1
 CImago::Engine::GamepadButtonSourceA gamepad button that drives an action. Reads as 0 or 1. (pressed or not pressed)
 CImago::Engine::InputHandlerOwned by Game. Handles registering actions and adding raw inputs to them. It updates InputState based off of window events. Systems never see this class, instead they see the InputState it owns. An action has inputs that the user decides but all logic within states should be based off of whether or not the action has been executed, not the input. Mutiple inputs can drive a single action
 CImago::Engine::InputStateWhat systems query for input (ctx.input->began("jump")). This is only for querying. The InputHandler writes it
 CImago::ECS::BondHandle< Components >::Iterator
 CImago::ECS::SurveyHandle< Components >::Iterator
 CImago::Engine::KeySourceA keybaord key that drives an action. Reads as 0 or 1. (pressed or not pressed)
 CImago::Engine::MouseButtonSourceA mouse button that drives an action. Reads as 0 or 1. (pressed or not pressed)
 CImago::ECS::NexusNexus is the brain of the ECS world. It is the object the user will use to interact with everything ECS related within systems
 CImago::Engine::SceneAbstract Base Class for every Scene. Users inherit from this class and override on_load() and optionally on_unload() in order to create their entites, registers systems, and subscribe to events
 CImago::Engine::SceneContextGives systems access to the persistent engine objects they could need
 CImago::Engine::SceneManagerThe manager is the only object that creates, switches, and updates Scenes
 CImago::ECS::SparseSetBaseType-erased interface for SparseSet<T>
 CImago::ECS::SparseSet< T >SparseSet concrete class templated to a component type, acts as Imago ECS's component pool
 CImago::ECS::SurveyHandle< Components >The Survey takes Components as templated arguments and acts as an iterator over all entities with all component types
 CImago::Engine::SystemScheduler