1 #ifndef INTERACTABLEITEM_CPP_INCLUDED
2 #define INTERACTABLEITEM_CPP_INCLUDED
4 #include "../../Core/Classes/ItemInfo.hpp"
5 #include "../../Core/Classes/Sprite.hpp"
6 #include "../../Core/Types/Point.hpp"
7 #include "../../Core/Types/Box.hpp"
8 #include "../../Core/Types/Convex.hpp"
9 #include "../../Core/Input.hpp"
49 bool Interact(
const std::string& Option,
bool CheckTarget =
false)
const;
50 bool Interact(
const std::vector<std::string>&
Options,
bool CheckTarget =
false)
const;
51 bool Interact(
const std::function<
bool (
const Convex&)>& InteractMethod)
const;
54 operator bool()
const;
Item(std::int32_t Index, std::int32_t ID, ITEM_SOURCE Source)
bool Interact(const Button &B=BUTTON_LEFT) const
std::string GetName() const
std::int32_t GetID() const
Item(const Interactable::Item &Item)
Internal::ItemInfo GetInfo() const
Point GetPoint(double PointGenAccuracy) const
std::int32_t GetIndex() const
bool IsInterfaceOpen() const
bool OpenInterface() const
bool Interact(const std::function< bool(const Convex &)> &InteractMethod) const
bool Interact(const std::string &Option, bool CheckTarget=false) const
ITEM_SOURCE GetSource() const
Internal::Sprite GetSprite() const
std::int32_t GetStackAmount() const
bool Interact(const std::vector< std::string > &Options, bool CheckTarget=false) const