Danbias/GameLogic/Weapon.h

29 lines
353 B
C
Raw Normal View History

2013-10-23 00:09:17 +02:00
#ifndef WEAPON_H
#define WEAPON_H
namespace GameLogic
{
class Weapon
{
public:
enum Type
{
Test = 0,
Shotgun,
Powerup,
Count,
Undefined
};
const char *scriptFile;
const char *onFireFunction;
const char *onUpdateFunction;
const char *onHitFunction;
public:
static const Weapon weapons[Weapon::Count];
};
};
#endif