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 List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 1234]
 NImago
 NECS
 CBondA 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
 CBondHandleLightweight 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
 CIterator
 CCommandBufferQueues structural changes to apply all at once when there is no iteration going on
 CEntityManagerCreates, destroys, and validates Entity handles
 CNexusNexus is the brain of the ECS world. It is the object the user will use to interact with everything ECS related within systems
 CSparseSetSparseSet concrete class templated to a component type, acts as Imago ECS's component pool
 CSparseSetBaseType-erased interface for SparseSet<T>
 CSurveyHandleThe Survey takes Components as templated arguments and acts as an iterator over all entities with all component types
 CIterator
 NEngine
 CBroadcasterBroadcaster acts as ImagoEngine's event system. It lets systems communicate without knowing about eachother
 CEngineControlThe user's only way to talk to the Game from inside a system or Scene load/unload
 CGameThe 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
 CGameConfigEverything the Game needs to start. Default values for now but will later be filled by a YAML config file
 CInputHandlerOwned 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
 CKeySourceA keybaord key that drives an action. Reads as 0 or 1. (pressed or not pressed)
 CMouseButtonSourceA mouse button that drives an action. Reads as 0 or 1. (pressed or not pressed)
 CGamepadButtonSourceA gamepad button that drives an action. Reads as 0 or 1. (pressed or not pressed)
 CGamepadAxisSourceA gamepad axis motion that drives an action. Reads as a strength rescaled to a dead zone and scaled to a magnitude between 0-1
 CInputStateWhat systems query for input (ctx.input->began("jump")). This is only for querying. The InputHandler writes it
 CSceneAbstract 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
 CSceneContextGives systems access to the persistent engine objects they could need
 CSceneManagerThe manager is the only object that creates, switches, and updates Scenes
 CSystemScheduler