2013-11-20 14:18:31 +01:00
|
|
|
#include "Weapon.h"
|
|
|
|
|
|
|
|
using namespace GameLogic;
|
|
|
|
|
2013-12-05 11:50:39 +01:00
|
|
|
struct Weapon::PrivateData
|
2013-11-20 14:18:31 +01:00
|
|
|
{
|
2013-12-05 11:50:39 +01:00
|
|
|
PrivateData()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
~PrivateData()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}myData;
|
|
|
|
|
|
|
|
Weapon::Weapon()
|
|
|
|
{
|
|
|
|
myData = new PrivateData();
|
2013-11-20 14:18:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Weapon::~Weapon(void)
|
|
|
|
{
|
2013-12-05 11:50:39 +01:00
|
|
|
delete myData;
|
2013-11-20 14:18:31 +01:00
|
|
|
}
|