Implemented Loadout selection item buttons, corrected inventory window missing category variables, corrected loadout item selection logic, updated inventory window layout.
This commit is contained in:
@@ -90,6 +90,7 @@ private:
|
||||
bool encounterStarted=false;
|
||||
int totalBossEncounterMobs=0;
|
||||
int chapter=1; //We start at chapter 1.
|
||||
std::array<Item,3>loadout;
|
||||
|
||||
std::vector<Monster>monstersToBeSpawned;
|
||||
|
||||
@@ -169,6 +170,11 @@ public:
|
||||
MapTag GetCurrentMap();
|
||||
int GetCurrentChapter();
|
||||
void SetChapter(int chapter);
|
||||
Item&GetLoadoutItem(int slot);
|
||||
void SetLoadoutItem(int slot,std::string itemName);
|
||||
void UseLoadoutItem(int slot);
|
||||
//Blanks out this loadout item.
|
||||
void ClearLoadoutItem(int slot);
|
||||
|
||||
struct TileGroupData{
|
||||
vi2d tilePos;
|
||||
|
||||
Reference in New Issue
Block a user