Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/cleanup/src/world_entities/projectiles/acid_splash.h @ 10625

Last change on this file since 10625 was 10368, checked in by patrick, 18 years ago

merged the branche playability into the trunk

File size: 883 bytes
Line 
1/*!
2 * @file acid_splash.h
3 * @brief acid splash projectile
4*/
5
6#ifndef _ACIDSPLASH_H
7#define _ACIDSPLASH_H
8
9#include "projectile.h"
10
11class Vector;
12class Weapon;
13class FastFactory;
14class Wobblegrid;
15
16class AcidSplash : public Projectile
17{
18  ObjectListDeclaration(AcidSplash);
19  public:
20    AcidSplash ();
21    virtual ~AcidSplash ();
22
23
24    virtual void activate();
25    virtual void deactivate();
26
27 //   virtual void collidesWith(WorldEntity* entity, const Vector& location);
28
29    virtual void destroy (WorldEntity* killer);
30
31    virtual void tick (float dt);
32    virtual void draw () const;
33
34  private:
35    static FastFactory*               fastFactory;
36    Wobblegrid*                       grid;
37
38    float                             angle;
39    static const float                rotationSpeed = 1080;
40
41
42    WorldEntity* hitEntity; // FIXME TEMPORARY
43};
44
45#endif /* _ACIDSPLASH_H */
Note: See TracBrowser for help on using the repository browser.