Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/presentation/src/world_entities/projectiles/acid_splash.h @ 10764

Last change on this file since 10764 was 10740, checked in by rennerc, 18 years ago

less collision hacks

File size: 924 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    OBBTree*                    obbTree;
44};
45
46#endif /* _ACIDSPLASH_H */
Note: See TracBrowser for help on using the repository browser.