45 typedef std::shared_ptr<PowerUp>
shared;
69 void replace(btVector3 new_position);
std::shared_ptr< Animation > shared
Definition: animation.h:27
btRigidBody * body_
Definition: powerup.h:47
Ogre::SceneNode * node_
Definition: powerup.h:36
void update(float delta)
Definition: powerup.cpp:70
void reset()
Definition: powerup.cpp:115
std::vector< Location > locations_
Definition: powerup.h:61
float seconds
Definition: powerup.h:41
bool removed_
Definition: powerup.h:67
void add_to_scene()
Definition: powerup.cpp:103
std::shared_ptr< Physics > shared
Definition: physics.h:33
void replace(btVector3 new_position)
Definition: powerup.cpp:94
Ogre::Entity * entity_
Definition: powerup.h:37
btCollisionShape * shape_
Definition: powerup.h:38
std::shared_ptr< Scene > shared
Definition: scene.h:43
Physics::shared physics_
Definition: powerup.h:34
std::shared_ptr< PowerUp > shared
Definition: powerup.h:45
virtual ~PowerUp()
Definition: powerup.cpp:13
void remove_from_scene()
Definition: powerup.cpp:109
void active_animation(std::string animation_name)
Definition: powerup.cpp:123
Scene::shared scene_
Definition: powerup.h:33
btVector3 Position
Definition: powerup.h:42
Location last_location_
Definition: powerup.h:62
void read_locations(std::string file)
Definition: powerup.cpp:54
std::pair< Position, seconds > Location
Definition: powerup.h:43
void pick_up()
Definition: powerup.cpp:85
float start_
Definition: powerup.h:66
Animation::shared animation_
Definition: powerup.h:32
void realize(Type object)
Definition: powerup.cpp:21
Type
Definition: powerup.h:44
std::string file_
Definition: powerup.h:31
PowerUp(Scene::shared scene, Physics::shared physics, Animation::shared animation)
Definition: powerup.cpp:4