Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/playability.old/src/world_entities/projectiles/acid_splash.h @ 10590

Last change on this file since 10590 was 10328, checked in by marcscha, 18 years ago

acid splash fix

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.