2023-12-15 23:02:20 -05:00
|
|
|
#include "booster.h"
|
|
|
|
|
|
|
|
Booster::Booster()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2023-12-18 13:29:38 -05:00
|
|
|
Booster::Booster(Vector3f tpos, BOOST_TYPE ttype, uint64_t id): m_id(id), pos(tpos), type(ttype){}
|
2023-12-15 23:02:20 -05:00
|
|
|
|
|
|
|
Booster::~Booster()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Vector3f Booster::GetPosition()
|
|
|
|
{
|
|
|
|
return pos;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOST_TYPE Booster::GetType()
|
|
|
|
{
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
2023-12-18 13:29:38 -05:00
|
|
|
uint64_t Booster::GetId() const
|
|
|
|
{
|
|
|
|
return m_id;
|
|
|
|
}
|
|
|
|
|
2023-12-15 23:02:20 -05:00
|
|
|
bool Booster::GetAvailability()
|
|
|
|
{
|
|
|
|
return available;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Booster::SetAvailability(bool value)
|
|
|
|
{
|
|
|
|
available = value;
|
2023-12-18 13:29:38 -05:00
|
|
|
modified = true;
|
2023-12-15 23:02:20 -05:00
|
|
|
}
|
|
|
|
|