SQCSimulator2023/SQCSim-common/booster.cpp

40 lines
463 B
C++
Raw Normal View History

#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){}
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;
}
bool Booster::GetAvailability()
{
return available;
}
void Booster::SetAvailability(bool value)
{
available = value;
2023-12-18 13:29:38 -05:00
modified = true;
}