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

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

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

Go to the source code of this file.

Classes

class  CmdFX::Sprite
 A C++ wrapper around a CmdFX_Sprite struct. More...
 

Namespaces

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

Functions

std::vector< std::unique_ptr< Sprite > > CmdFX::Canvas::getDrawnSprites ()
 Gets all of the drawn sprites.
 
std::unique_ptr< SpriteCmdFX::Canvas::getSpriteAt (int x, int y)
 Get the Sprite at a specific position.
 

Detailed Description

C++ Extensions for the CmdFX Sprites API.

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