#include <GameApi.hh>
|
| | SpriteWorldObj (EveryApi &ev, std::function< BM(int)> f, int numvalues, BM int_bm, int dx, int dy, SH sh) |
| | ~SpriteWorldObj () |
| void | set_block (int x, int y, int c) |
| int | read_block (int x, int y) |
| void | set_range (int l, int t, int width, int height) |
| void | prepare (bool keep=false) |
| void | render () |
| void | set_pos (float p_x, float p_y) |
| void | set_scale (float m_x, float m_y) |
| int | get_pos_x (float mouse_x) const |
| int | get_pos_y (float mouse_y) const |
| void | set_var (std::string name, float r, float g, float b, float a) |
| virtual | ~RenderObject () |
| virtual | ~MoveScaleObject2d () |
◆ SpriteWorldObj()
| GameApi::SpriteWorldObj::SpriteWorldObj |
( |
EveryApi & | ev, |
|
|
std::function< BM(int)> | f, |
|
|
int | numvalues, |
|
|
BM | int_bm, |
|
|
int | dx, |
|
|
int | dy, |
|
|
SH | sh ) |
|
inline |
◆ ~SpriteWorldObj()
| GameApi::SpriteWorldObj::~SpriteWorldObj |
( |
| ) |
|
|
inline |
◆ get_pos_x()
| int GameApi::SpriteWorldObj::get_pos_x |
( |
float | mouse_x | ) |
const |
|
inline |
◆ get_pos_y()
| int GameApi::SpriteWorldObj::get_pos_y |
( |
float | mouse_y | ) |
const |
|
inline |
◆ prepare()
| void GameApi::SpriteWorldObj::prepare |
( |
bool | keep = false | ) |
|
|
inlinevirtual |
◆ read_block()
| int GameApi::SpriteWorldObj::read_block |
( |
int | x, |
|
|
int | y ) |
|
inline |
◆ render()
| void GameApi::SpriteWorldObj::render |
( |
| ) |
|
|
inlinevirtual |
◆ set_block()
| void GameApi::SpriteWorldObj::set_block |
( |
int | x, |
|
|
int | y, |
|
|
int | c ) |
|
inline |
◆ set_pos()
| void GameApi::SpriteWorldObj::set_pos |
( |
float | p_x, |
|
|
float | p_y ) |
|
inlinevirtual |
◆ set_range()
| void GameApi::SpriteWorldObj::set_range |
( |
int | l, |
|
|
int | t, |
|
|
int | width, |
|
|
int | height ) |
|
inline |
◆ set_scale()
| void GameApi::SpriteWorldObj::set_scale |
( |
float | m_x, |
|
|
float | m_y ) |
|
inlinevirtual |
◆ set_var()
| void GameApi::SpriteWorldObj::set_var |
( |
std::string | name, |
|
|
float | r, |
|
|
float | g, |
|
|
float | b, |
|
|
float | a ) |
|
inlinevirtual |
The documentation for this class was generated from the following file: