AlpacaLibrary/Include/Game/Interactable/NPC.hpp

46 lines
1.3 KiB
C++
Raw Normal View History

2018-04-15 05:08:42 +00:00
#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"
2018-05-10 01:08:38 +00:00
#include "../../Core/Types/Box.hpp"
2018-04-15 05:08:42 +00:00
#include "../../Core/Types/Convex.hpp"
2018-05-10 01:08:38 +00:00
#include "../../Core/Input.hpp"
2018-04-15 05:08:42 +00:00
#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;
2018-05-10 01:08:38 +00:00
Box GetBox() const;
Point GetPoint() const;
2018-04-15 05:08:42 +00:00
Convex GetConvex() const;
2018-05-10 01:08:38 +00:00
std::vector<Point> GetModel() const;
double GetVisibility() const;
Tile GetTile() const;
2018-04-15 05:08:42 +00:00
Internal::Character GetInteracting() const;
bool Interacting() const;
bool Interacting(const Internal::Character& C) const;
2018-05-10 01:08:38 +00:00
bool Interact(const Button& B = BUTTON_LEFT) const;
2018-04-16 03:53:24 +00:00
bool Interact(const std::string& Option) const;
2018-05-13 21:59:12 +00:00
bool Interact(const std::vector<std::string>& Options, bool RequireAllOptions = false) const;
2018-04-16 03:53:24 +00:00
2018-04-15 05:08:42 +00:00
operator Internal::NPC() const;
};
}
#endif // INTERACTABLENPC_HPP_INCLUDED