Whatever The Fuck Man
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../entity/character.hpp"
|
||||
#include "../../entity/cursor.hpp"
|
||||
#include "../../entity/item.hpp"
|
||||
#include "../../entity.hpp"
|
||||
|
||||
#include "area_manager.hpp"
|
||||
#include "text.hpp"
|
||||
|
||||
#include <optional>
|
||||
|
||||
namespace game::state::play
|
||||
{
|
||||
class ItemManager
|
||||
@@ -15,7 +15,8 @@ namespace game::state::play
|
||||
static constexpr auto LIMIT = 100;
|
||||
|
||||
bool isDisabled{};
|
||||
std::vector<entity::Item> items{};
|
||||
bool isAutomation{};
|
||||
std::vector<Entity> items{};
|
||||
int heldItemIndex{-1};
|
||||
int queuedRemoveItemIndex{-1};
|
||||
|
||||
@@ -39,6 +40,26 @@ namespace game::state::play
|
||||
std::vector<int> queuedItemIDs{};
|
||||
std::vector<int> returnItemIDs{};
|
||||
|
||||
void update(entity::Character&, entity::Cursor&, AreaManager&, Text&, const glm::vec4& bounds, Canvas&);
|
||||
struct Particle
|
||||
{
|
||||
std::string label{};
|
||||
glm::vec2 position{};
|
||||
};
|
||||
|
||||
struct Input
|
||||
{
|
||||
bool isImguiCaptureMouse{};
|
||||
bool isMouseLeftClicked{};
|
||||
bool isMouseLeftDown{};
|
||||
bool isMouseLeftReleased{};
|
||||
bool isMouseRightClicked{};
|
||||
bool isMouseRightDown{};
|
||||
bool isAutomation{};
|
||||
};
|
||||
|
||||
std::optional<Input> inputOverride{};
|
||||
std::vector<Particle> particles{};
|
||||
|
||||
void update(Entity&, Entity&, AreaManager&, Text&, const glm::vec4& bounds, Canvas&);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user