#include <GameApi.hh>
|
| IMPORT | CollisionPlane (Env &e) |
| IMPORT CP | circle (int id, float radius) |
| IMPORT CP | rectangle (int id, float x, float y, float sx, float sy) |
| IMPORT CP | or_elem (int id, std::vector< CP > vec) |
| IMPORT void | set_pos (CP plane, int id, float x, float y) |
| IMPORT bool | check_collision (CP plane, float x, float y) |
◆ CollisionPlane()
| GameApi::CollisionPlane::CollisionPlane |
( |
Env & | e | ) |
|
◆ check_collision()
| bool GameApi::CollisionPlane::check_collision |
( |
CP | plane, |
|
|
float | x, |
|
|
float | y ) |
◆ circle()
| GameApi::CP GameApi::CollisionPlane::circle |
( |
int | id, |
|
|
float | radius ) |
◆ or_elem()
| GameApi::CP GameApi::CollisionPlane::or_elem |
( |
int | id, |
|
|
std::vector< CP > | vec ) |
◆ rectangle()
| GameApi::CP GameApi::CollisionPlane::rectangle |
( |
int | id, |
|
|
float | x, |
|
|
float | y, |
|
|
float | sx, |
|
|
float | sy ) |
◆ set_pos()
| void GameApi::CollisionPlane::set_pos |
( |
CP | plane, |
|
|
int | id, |
|
|
float | x, |
|
|
float | y ) |
The documentation for this class was generated from the following files: