#include <shape_rectangular.h>
|
| ShapeRectangular (game::base::GameObject *owner, int size_x=1, int size_y=1, double stay_sizeclass=1.0, double pass_sizeclass=0.25, double enter_sizeclass=1.0e-5) |
|
| ~ShapeRectangular () |
|
const ugdk::math::Integer2D & | PlaceAt (const ugdk::math::Integer2D &destination) |
|
const ugdk::math::Integer2D & | Move (const std::list< ugdk::math::Integer2D > &mov) |
|
const ugdk::math::Integer2D & | Step (const ugdk::math::Integer2D &dir) |
|
bool | CheckForOob (const ugdk::math::Integer2D &destination) const |
|
bool | TryPlace (const ugdk::math::Integer2D &destination, game::base::GameObject *ignore=0) const |
|
const ugdk::math::Integer2D | TryStep (const ugdk::math::Integer2D &dir) const |
|
void | EvalBumpsAt (const ugdk::math::Integer2D &destination, game::base::GameObject *ignore=0) const |
|
const ugdk::math::Integer2D & | dimensions () const |
|
| Shape (game::base::GameObject *owner, double stay_sizeclass=1.0, double pass_sizeclass=0.25, double enter_sizeclass=1.0e-5) |
|
virtual | ~Shape () |
|
void | set_stay_sizeclass (double stay_sizeclass) |
|
void | set_pass_sizeclass (double pass_sizeclass) |
|
void | set_enter_sizeclass (double enter_sizeclass) |
|
double | stay_sizeclass () const |
|
double | pass_sizeclass () const |
|
double | enter_sizeclass () const |
|
const std::set
< ugdk::math::Integer2D > & | occupying_tiles () const |
|
std::set< ugdk::math::Integer2D > & | occupying_tiles () |
|
action::Aim * | aim () |
|
| ComponentBase (game::base::GameObject *owner) |
|
| ~ComponentBase () |
|
game::component::ShapeRectangular::ShapeRectangular |
( |
game::base::GameObject * |
owner, |
|
|
int |
size_x = 1 , |
|
|
int |
size_y = 1 , |
|
|
double |
stay_sizeclass = 1.0 , |
|
|
double |
pass_sizeclass = 0.25 , |
|
|
double |
enter_sizeclass = 1.0e-5 |
|
) |
| |
game::component::ShapeRectangular::~ShapeRectangular |
( |
| ) |
|
bool game::component::ShapeRectangular::CheckForOob |
( |
const ugdk::math::Integer2D & |
destination | ) |
const |
const ugdk::math::Integer2D& game::component::ShapeRectangular::dimensions |
( |
| ) |
const |
|
inline |
void game::component::ShapeRectangular::EvalBumpsAt |
( |
const ugdk::math::Integer2D & |
destination, |
|
|
game::base::GameObject * |
ignore = 0 |
|
) |
| const |
const Integer2D & game::component::ShapeRectangular::Move |
( |
const std::list< ugdk::math::Integer2D > & |
mov | ) |
|
|
virtual |
const Integer2D & game::component::ShapeRectangular::PlaceAt |
( |
const ugdk::math::Integer2D & |
destination | ) |
|
|
virtual |
const Integer2D & game::component::ShapeRectangular::Step |
( |
const ugdk::math::Integer2D & |
dir | ) |
|
|
virtual |
bool game::component::ShapeRectangular::TryPlace |
( |
const ugdk::math::Integer2D & |
destination, |
|
|
game::base::GameObject * |
ignore = 0 |
|
) |
| const |
|
virtual |
const Integer2D game::component::ShapeRectangular::TryStep |
( |
const ugdk::math::Integer2D & |
dir | ) |
const |
The documentation for this class was generated from the following files: