#include <shape.h>
game::component::Shape::Shape |
( |
game::base::GameObject * |
owner, |
|
|
double |
stay_sizeclass = 1.0 , |
|
|
double |
pass_sizeclass = 0.25 , |
|
|
double |
enter_sizeclass = 1.0e-5 |
|
) |
| |
|
inline |
virtual game::component::Shape::~Shape |
( |
| ) |
|
|
inlinevirtual |
double game::component::Shape::enter_sizeclass |
( |
| ) |
const |
|
inline |
virtual const ugdk::math::Integer2D& game::component::Shape::Move |
( |
const std::list< ugdk::math::Integer2D > & |
mov | ) |
|
|
pure virtual |
const std::set<ugdk::math::Integer2D>& game::component::Shape::occupying_tiles |
( |
| ) |
const |
|
inline |
std::set<ugdk::math::Integer2D>& game::component::Shape::occupying_tiles |
( |
| ) |
|
|
inline |
double game::component::Shape::pass_sizeclass |
( |
| ) |
const |
|
inline |
virtual const ugdk::math::Integer2D& game::component::Shape::PlaceAt |
( |
const ugdk::math::Integer2D & |
tile | ) |
|
|
pure virtual |
void game::component::Shape::set_enter_sizeclass |
( |
double |
enter_sizeclass | ) |
|
|
inline |
void game::component::Shape::set_pass_sizeclass |
( |
double |
pass_sizeclass | ) |
|
|
inline |
void game::component::Shape::set_stay_sizeclass |
( |
double |
stay_sizeclass | ) |
|
|
inline |
double game::component::Shape::stay_sizeclass |
( |
| ) |
const |
|
inline |
virtual const ugdk::math::Integer2D& game::component::Shape::Step |
( |
const ugdk::math::Integer2D & |
dir | ) |
|
|
pure virtual |
virtual bool game::component::Shape::TryPlace |
( |
const ugdk::math::Integer2D & |
destination, |
|
|
game::base::GameObject * |
ignore = 0 |
|
) |
| const |
|
pure virtual |
double game::component::Shape::enter_sizeclass_ |
|
protected |
std::set<ugdk::math::Integer2D> game::component::Shape::occupying_tiles_ |
|
protected |
double game::component::Shape::pass_sizeclass_ |
|
protected |
double game::component::Shape::stay_sizeclass_ |
|
protected |
The documentation for this class was generated from the following file: