CollisionHit Class Reference

This class collects data about a collision. More...

#include <collision_hit.hpp>

List of all members.

Public Member Functions

 CollisionHit ()

Public Attributes

bool left
bool right
bool top
bool bottom
bool crush
Vector slope_normal


Detailed Description

This class collects data about a collision.

Definition at line 44 of file collision_hit.hpp.


Constructor & Destructor Documentation

CollisionHit::CollisionHit (  )  [inline]

Definition at line 47 of file collision_hit.hpp.

00047                  :
00048     left(false),
00049     right(false),
00050     top(false),
00051     bottom(false),
00052     crush(false),
00053     slope_normal()
00054   {}


Member Data Documentation

bool CollisionHit::left

Definition at line 56 of file collision_hit.hpp.

Referenced by check_collisions(), Player::collision(), ParticleSystem_Interactive::collision(), WalkingBadguy::collision_badguy(), Totem::collision_badguy(), Stumpy::collision_badguy(), Plant::collision_badguy(), Igel::collision_bullet(), Sector::collision_object(), Snail::collision_player(), MrIceBlock::collision_player(), Star::collision_solid(), ScriptedObject::collision_solid(), Rock::collision_solid(), PowerUp::collision_solid(), Player::collision_solid(), GrowUp::collision_solid(), Bullet::collision_solid(), Zeekling::collision_solid(), Yeti::collision_solid(), WalkingBadguy::collision_solid(), Totem::collision_solid(), Toad::collision_solid(), Stumpy::collision_solid(), SkyDive::collision_solid(), SkullyHop::collision_solid(), Plant::collision_solid(), Owl::collision_solid(), KamikazeSnowball::collision_solid(), BouncingSnowball::collision_solid(), Sector::collision_static_constrains(), get_hit_normal(), collision::rectangle_aatriangle(), and collision::set_rectangle_rectangle_constraints().

bool CollisionHit::right

Definition at line 56 of file collision_hit.hpp.

Referenced by check_collisions(), Player::collision(), ParticleSystem_Interactive::collision(), WalkingBadguy::collision_badguy(), Totem::collision_badguy(), Stumpy::collision_badguy(), Plant::collision_badguy(), Igel::collision_bullet(), Sector::collision_object(), Snail::collision_player(), MrIceBlock::collision_player(), Star::collision_solid(), ScriptedObject::collision_solid(), Rock::collision_solid(), PowerUp::collision_solid(), Player::collision_solid(), GrowUp::collision_solid(), Bullet::collision_solid(), Zeekling::collision_solid(), Yeti::collision_solid(), WalkingBadguy::collision_solid(), Totem::collision_solid(), Toad::collision_solid(), Stumpy::collision_solid(), SkyDive::collision_solid(), SkullyHop::collision_solid(), Plant::collision_solid(), Owl::collision_solid(), KamikazeSnowball::collision_solid(), BouncingSnowball::collision_solid(), Sector::collision_static_constrains(), get_hit_normal(), collision::rectangle_aatriangle(), and collision::set_rectangle_rectangle_constraints().

bool CollisionHit::top

Definition at line 57 of file collision_hit.hpp.

Referenced by check_collisions(), Trampoline::collision(), PushButton::collision(), Stumpy::collision_badguy(), Sector::collision_object(), Star::collision_solid(), ScriptedObject::collision_solid(), Rock::collision_solid(), Player::collision_solid(), GrowUp::collision_solid(), Bullet::collision_solid(), Zeekling::collision_solid(), Yeti::collision_solid(), WalkingBadguy::collision_solid(), Totem::collision_solid(), Toad::collision_solid(), Stumpy::collision_solid(), SpiderMite::collision_solid(), SkullyHop::collision_solid(), Plant::collision_solid(), Owl::collision_solid(), MrIceBlock::collision_solid(), KamikazeSnowball::collision_solid(), FlyingSnowBall::collision_solid(), BouncingSnowball::collision_solid(), Sector::collision_static_constrains(), get_hit_normal(), Jumpy::hit(), collision::rectangle_aatriangle(), and collision::set_rectangle_rectangle_constraints().

bool CollisionHit::bottom

Definition at line 57 of file collision_hit.hpp.

Referenced by check_collisions(), Rock::collision(), IceCrusher::collision(), Stumpy::collision_badguy(), SkyDive::collision_badguy(), Sector::collision_object(), SkyDive::collision_player(), Star::collision_solid(), ScriptedObject::collision_solid(), Rock::collision_solid(), PowerUp::collision_solid(), Player::collision_solid(), IceCrusher::collision_solid(), GrowUp::collision_solid(), Bullet::collision_solid(), Zeekling::collision_solid(), Yeti::collision_solid(), WalkingBadguy::collision_solid(), Totem::collision_solid(), Toad::collision_solid(), Stumpy::collision_solid(), Stalactite::collision_solid(), SpiderMite::collision_solid(), SkyDive::collision_solid(), SkullyHop::collision_solid(), Plant::collision_solid(), Owl::collision_solid(), MrIceBlock::collision_solid(), KamikazeSnowball::collision_solid(), FlyingSnowBall::collision_solid(), BouncingSnowball::collision_solid(), Bomb::collision_solid(), Sector::collision_static_constrains(), get_hit_normal(), Jumpy::hit(), collision::rectangle_aatriangle(), collision::set_rectangle_rectangle_constraints(), and BadGuy::update_on_ground_flag().

bool CollisionHit::crush

Definition at line 58 of file collision_hit.hpp.

Referenced by Rock::collision_solid(), Player::collision_solid(), and Sector::collision_static_constrains().

Vector CollisionHit::slope_normal

Definition at line 60 of file collision_hit.hpp.

Referenced by Player::collision_solid(), WalkingBadguy::collision_solid(), collision::rectangle_aatriangle(), and BadGuy::update_on_ground_flag().


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 03:38:29 2014 for SuperTux by  doxygen 1.5.1