cmdfx 0.2.1
Lightweight game engine for your terminal
Loading...
Searching...
No Matches
scenes.hpp File Reference

C++ Extensions for the CmdFX Scenes API. More...

#include "cmdfx/core/scenes.h"
#include "cmdfx/core/builder.hpp"
#include <string>
#include <vector>
#include <memory>

Go to the source code of this file.

Classes

class  CmdFX::Scene
 A C++ wrapper around a CmdFX_Scene struct. More...
 

Namespaces

namespace  CmdFX
 Primary namespace for CmdFX.
 
namespace  CmdFX::Canvas
 C++ wrapper for the CmdFX canvas.
 

Functions

std::vector< std::unique_ptr< Scene > > CmdFX::Canvas::getDrawnScenes ()
 Gets all of the drawn scenes.
 
int CmdFX::Canvas::getDrawnScenesCount ()
 Gets the number of scenes that are drawn on the screen.
 
std::vector< std::unique_ptr< Scene > > CmdFX::Canvas::getRegisteredScenes ()
 Gets the registered scenes.
 
int CmdFX::Canvas::getRegisteredScenesCount ()
 Gets the number of registered scenes.
 
std::unique_ptr< SceneCmdFX::Canvas::getRegisteredScene (int uid)
 Gets a registered scene by its unique identifier.
 

Detailed Description

C++ Extensions for the CmdFX Scenes API.

Author
Gregory Mitchell (me@gm.nosp@m.itch.nosp@m.215.x.nosp@m.yz)
Version
0.2.1
Date
2025-05-27