AlpacaLibrary/Include/Game/Interactable/NPC.hpp

53 lines
1.7 KiB
C++

#ifndef INTERACTABLENPC_HPP_INCLUDED
#define INTERACTABLENPC_HPP_INCLUDED
#include "../../Core/Classes/NPC.hpp"
#include "../../Core/Classes/NPCInfo.hpp"
#include "../../Core/Types/Tile.hpp"
#include "../../Core/Types/Point.hpp"
#include "../../Core/Types/Box.hpp"
#include "../../Core/Types/Convex.hpp"
#include "../../Core/Input.hpp"
#include "../../Game/Tools/Camera.hpp"
#include <cstdint>
namespace Interactable
{
class NPC : public Internal::NPC
{
public:
NPC(const Internal::NPC& N);
NPC(const NPC& N);
std::int32_t GetID() const;
std::string GetName() const;
Internal::NPCInfo GetInfo() const;
std::vector<Point> GetModel() const;
Convex GetConvex() const;
Box GetBox() const;
Point GetPoint() const;
Point GetPoint(double PointGenAccuracy) const;
double GetVisibility() const;
Tile GetTile() const;
Tile GetReachableTile() const;
bool IsReachable() const;
bool RotateTo(std::int32_t Angle = 0) const;
bool RotateTo(Camera::COMPASS_DIRECTION Direction) const;
Internal::Character GetInteracting() const;
bool Interacting() const;
bool Interacting(const Internal::Character& C) const;
bool Hover() const;
bool Interact(const Button& B = BUTTON_LEFT) const;
bool Interact(const std::string& Option, bool CheckTarget = true) const;
bool Interact(const std::vector<std::string>& Options, bool CheckTarget = true) const;
operator Internal::NPC() const;
};
}
#endif // INTERACTABLENPC_HPP_INCLUDED