format codebase

This commit is contained in:
aronwk-aaron
2022-07-28 08:39:57 -05:00
parent 4f7aa11067
commit 19e77a38d8
881 changed files with 34700 additions and 38689 deletions

View File

@@ -11,34 +11,34 @@ class LUPExhibitComponent : public Component
{
public:
static const uint32_t ComponentType = COMPONENT_TYPE_EXHIBIT;
LUPExhibitComponent(Entity* parent);
~LUPExhibitComponent();
void Update(float deltaTime) override;
void Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, uint32_t& flags);
/**
* After the timer runs out, this changes the currently exhibited LOT to the next one
*/
void NextExhibit();
LUPExhibitComponent(Entity* parent);
~LUPExhibitComponent();
void Update(float deltaTime) override;
void Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, uint32_t& flags);
/**
* After the timer runs out, this changes the currently exhibited LOT to the next one
*/
void NextExhibit();
private:
/**
* The LOT that's currently on exhibit
*/
LOT m_Exhibit;
/**
* The LOT that's currently on exhibit
*/
LOT m_Exhibit;
/**
* The time since we've last updated the exhibit
*/
float m_UpdateTimer;
/**
* The time since we've last updated the exhibit
*/
float m_UpdateTimer;
/**
* The list of possible exhibits to show
*/
std::vector<LOT> m_Exhibits;
/**
* The list of possible exhibits to show
*/
std::vector<LOT> m_Exhibits;
/**
* The current index in the exhibit list
*/
size_t m_ExhibitIndex;
/**
* The current index in the exhibit list
*/
size_t m_ExhibitIndex;
};