Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/powerups/src/world_entities/extendable.h @ 5968

Last change on this file since 5968 was 5965, checked in by manuel, 19 years ago

many changes:
created generic weapon_power_up that can contain any kind of weapon
space_ship is now extendable and can pickup weapon_power_ups

File size: 433 bytes
RevLine 
[4838]1/*!
2 * @file proto_class.h
[5874]3 * @brief Interface for Worldentities that can picku up powerups.
[3245]4*/
[1853]5
[5871]6#ifndef _EXTENDABLE_H
7#define _EXTENDABLE_H
[1853]8
[5965]9#include "base_object.h"
10
[4838]11// FORWARD DECLARATION
[5965]12class PowerUp;
[3543]13
14
[3955]15//! A class for ...
[5965]16class Extendable : virtual public BaseObject {
[1853]17
[1904]18 public:
[5871]19//   Extendable();
20//   virtual ~Extendable();
21  virtual bool pickup(PowerUp* powerUp) { return false; }
[1853]22
[3245]23 private:
24
[1853]25};
26
[5871]27#endif /* _EXTENDABLE_H */
Note: See TracBrowser for help on using the repository browser.