2013-11-28 08:33:29 +01:00
|
|
|
//////////////////////////////////////////////////
|
|
|
|
//Created by Erik and Linda of the GameLogic team
|
|
|
|
//////////////////////////////////////////////////
|
2013-11-20 14:18:31 +01:00
|
|
|
#ifndef WEAPON_H
|
|
|
|
#define WEAPON_H
|
2013-12-10 09:57:05 +01:00
|
|
|
#include "GameLogicStates.h"
|
2013-11-20 14:18:31 +01:00
|
|
|
|
|
|
|
namespace GameLogic
|
|
|
|
{
|
|
|
|
|
2013-12-05 11:50:39 +01:00
|
|
|
class Weapon
|
2013-11-20 14:18:31 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
2013-12-10 09:57:05 +01:00
|
|
|
|
|
|
|
|
2013-12-05 11:50:39 +01:00
|
|
|
Weapon(void);
|
2013-11-20 14:18:31 +01:00
|
|
|
~Weapon(void);
|
|
|
|
|
2013-12-10 09:57:05 +01:00
|
|
|
void UseWeapon(const WEAPON_FIRE &fireInput);
|
|
|
|
|
|
|
|
|
|
|
|
bool IsFireing();
|
|
|
|
bool IsIdle();
|
|
|
|
bool IsReloading();
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
2013-12-05 11:50:39 +01:00
|
|
|
struct PrivateData;
|
|
|
|
PrivateData *myData;
|
2013-11-20 14:18:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif
|