Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2005, 12:55:17 AM (18 years ago)
Author:
bensch
Message:

controll compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.h

    r5878 r5880  
    44 */
    55
    6 #ifndef _PLAYER_H
    7 #define _PLAYER_H
     6#ifndef _SPACE_SHIP_H
     7#define _SPACE_SHIP_H
    88
    99#include "playable.h"
     
    1515class SpaceShip : public Playable
    1616{
    17      
     17
    1818  public:
    19          
     19
    2020    SpaceShip();
    2121    SpaceShip(const char* fileName);
    2222    SpaceShip(const TiXmlElement* root);
    2323    virtual ~SpaceShip();
    24          
     24
    2525    void init();
    2626    void loadParams(const TiXmlElement* root);
    27          
     27
    2828    void addWeapon(Weapon* weapon );
    2929    void removeWeapon(Weapon* weapon);
    30    
     30
    3131    virtual void postSpawn();
    3232    virtual void leftWorld();
    33    
     33
    3434    virtual void collidesWith(WorldEntity* entity, const Vector& location);
    3535    virtual void tick(float time);
    3636    virtual void draw() const;
    3737
    38     void process(const Event &event);
    39    
    40    
    41          
     38    virtual void process(const Event &event);
     39
     40
     41
    4242  private:
    43          
     43
    4444    void move(float time);
    4545    void weaponAction();
     
    4747    // !! temporary !!
    4848    void ADDWEAPON();
    49    
     49
    5050    bool                  bUp;                //!< up button pressed.
    5151    bool                  bDown;              //!< down button pressed.
     
    6262};
    6363
    64 #endif /* _PLAYABLE_H */
     64#endif /* _SPACE_SHIPS_H */
Note: See TracChangeset for help on using the changeset viewer.