cmdfx 1.0.1
Lightweight game engine for your terminal
Loading...
Searching...
No Matches
motion.hpp File Reference

C++ Extensions for velocity and acceleration functions. More...

#include "cmdfx/physics/motion.h"
#include "cmdfx/core/sprites.hpp"
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

class  CmdFX::SpriteMotion
 A C++ wrapper around a CmdFX_Sprite struct for motion-related functions. More...

Namespaces

namespace  CmdFX
 Primary namespace for CmdFX.
namespace  CmdFX::Engine
 A C++ wrapper around the CmdFX Physics Engine.

Functions

bool CmdFX::Engine::isMotionDebugEnabled ()
 Checks if motion debugging is enabled.
void CmdFX::Engine::enableMotionDebug ()
 Enables motion debugging.
void CmdFX::Engine::disableMotionDebug ()
 Disables motion debugging.
void CmdFX::Engine::applyMotion (Sprite &sprite)
 Applies the motion of a sprite.
void CmdFX::Engine::applyMotion (const std::unique_ptr< Sprite > &sprite)

Detailed Description

C++ Extensions for velocity and acceleration functions.

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