Danbias/Code/Game/GameLogic/AttatchmentMassDriver.h

46 lines
1.5 KiB
C
Raw Normal View History

//////////////////////////////////////////////////
//Created by Erik of the GameLogic team
//////////////////////////////////////////////////
#ifndef ATTATCHMENTMASSDRIVER_H
#define ATTATCHMENTMASSDRIVER_H
#include "IAttatchment.h"
namespace GameLogic
{
class AttatchmentMassDriver : public IAttatchment
{
public:
AttatchmentMassDriver(void);
AttatchmentMassDriver(Player &owner);
~AttatchmentMassDriver(void);
2014-01-16 11:17:19 +01:00
void UseAttatchment(const WEAPON_FIRE &usage);
private:
/********************************************************
* Pushes objects and players in a cone in front of the player
* @param fireInput: allows switching on different functionality in this specific function
********************************************************/
2014-01-16 11:17:19 +01:00
void ForcePush(const WEAPON_FIRE &usage);
/********************************************************
* Pulls the player forward, this is a movement tool
* @param fireInput: allows switching on different functionality in this specific function
********************************************************/
2014-01-16 11:17:19 +01:00
void ForcePull(const WEAPON_FIRE &usage);
/********************************************************
* Sucks objects towards the player, the player can then pick up an object and throw it as a projectile
* @param fireInput: allows switching on different functionality in this specific function
********************************************************/
2014-01-16 11:17:19 +01:00
void ForceSuck(const WEAPON_FIRE &usage);
private:
struct PrivateData;
PrivateData *myData;
};
}
#endif