1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#ifndef __GENERIC_PARTICLE_PROJECTILE_H__
#define __GENERIC_PARTICLE_PROJECTILE_H__
#include "Sim/Projectiles/Projectile.h"
#include "Rendering/Textures/TextureAtlas.h"
class CColorMap;
class CGenericParticleProjectile : public CProjectile
{
CR_DECLARE(CGenericParticleProjectile);
public:
CGenericParticleProjectile(const float3& pos, const float3& speed, CUnit* owner GML_PARG_H);
~CGenericParticleProjectile(void);
virtual void Update();
virtual void Draw();
float3 gravity;
AtlasedTexture *texture;
CColorMap *colorMap;
bool directional;
float life;
float decayrate;
float size;
float airdrag;
float sizeGrowth;
float sizeMod;
};
#endif
|