AlpacaLibrary/Include/Game/Interactable/GroundObject.hpp

43 lines
1.3 KiB
C++
Raw Normal View History

2018-03-27 02:51:41 +00:00
#ifndef INTERACTABLEGROUNDOBJECT_HPP_INCLUDED
#define INTERACTABLEGROUNDOBJECT_HPP_INCLUDED
#include "../../Core/Classes/GroundObject.hpp"
#include "../../Core/Classes/ObjectInfo.hpp"
#include "../../Core/Types/Tile.hpp"
#include "../../Core/Types/Point.hpp"
2018-05-10 01:08:38 +00:00
#include "../../Core/Types/Box.hpp"
2018-03-27 02:51:41 +00:00
#include "../../Core/Types/Convex.hpp"
2018-05-10 01:08:38 +00:00
#include "../../Core/Input.hpp"
2018-03-27 02:51:41 +00:00
#include <cstdint>
namespace Interactable
{
class GroundObject : public Internal::GroundObject
{
public:
GroundObject(const Internal::GroundObject& G);
GroundObject(const GroundObject& G);
std::int32_t GetID() const;
std::string GetName() const;
Internal::ObjectInfo GetInfo() const;
2018-05-10 01:08:38 +00:00
Box GetBox() const;
Point GetPoint() const;
2018-03-27 02:51:41 +00:00
Convex GetConvex() const;
2018-05-10 01:08:38 +00:00
std::vector<Point> GetModel() const;
double GetVisibility() const;
Tile GetTile() const;
bool Interact(const Button& B = BUTTON_LEFT) const;
bool Interact(const std::string& Option) const;
2018-05-11 03:38:30 +00:00
bool Interact(const std::vector<std::string>& Options, bool RequireAll = true) const;
2018-03-27 02:51:41 +00:00
operator Internal::GroundObject() const;
};
}
#endif // INTERACTABLEGROUNDOBJECT_HPP_INCLUDED