2013-12-13 11:06:03 +01:00
|
|
|
//////////////////////////////////////////////////
|
|
|
|
//Created by Erik of the GameLogic team
|
|
|
|
//////////////////////////////////////////////////
|
|
|
|
|
2013-12-10 09:57:05 +01:00
|
|
|
#ifndef IATTATCHMENT_H
|
|
|
|
#define IATTATCHMENT_H
|
|
|
|
#include "GameLogicStates.h"
|
2013-12-12 12:16:13 +01:00
|
|
|
#include "Player.h"
|
2013-12-10 09:57:05 +01:00
|
|
|
|
|
|
|
namespace GameLogic
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
class IAttatchment
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
IAttatchment(void);
|
|
|
|
~IAttatchment(void);
|
|
|
|
|
2014-01-21 15:46:54 +01:00
|
|
|
virtual void UseAttatchment(const WEAPON_FIRE &usage, float dt) = 0;
|
2013-12-10 09:57:05 +01:00
|
|
|
|
2013-12-12 12:16:13 +01:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
Player *owner;
|
2013-12-10 09:57:05 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|