cmdfx 0.1.1
Lightweight game engine for your terminal
Loading...
Searching...
No Matches
mass.h
Go to the documentation of this file.
1
11#pragma once
12
13#include "cmdfx/core/sprites.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
30
41
53int Sprite_setMass(CmdFX_Sprite* sprite, int mass);
54
65
66#ifdef __cplusplus
67}
68#endif
int Sprite_resetMass(CmdFX_Sprite *sprite)
Resets the mass of a sprite.
int Sprite_setMass(CmdFX_Sprite *sprite, int mass)
Sets the mass of a sprite.
int Sprite_getMass(CmdFX_Sprite *sprite)
Gets the mass of a sprite.
int Sprite_getDefaultMass(CmdFX_Sprite *sprite)
Gets the default mass of a sprite.
Sprites API for CmdFX.
Represents a sprite that can be drawn to the terminal.
Definition sprites.h:28