AlpacaLibrary/Include/Game/Interactable/Player.hpp

46 lines
1.3 KiB
C++
Raw Normal View History

2018-04-15 05:08:42 +00:00
#ifndef INTERACTABLEPLAYER_HPP_INCLUDED
#define INTERACTABLEPLAYER_HPP_INCLUDED
#include "../../Core/Classes/Player.hpp"
#include "../../Core/Classes/PlayerInfo.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 Player : public Internal::Player
{
public:
Player(const Internal::Player& P);
Player(const Player& P);
2018-05-10 01:08:38 +00:00
std::string GetName() const;
2018-04-15 05:08:42 +00:00
Internal::PlayerInfo 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-18 05:50:40 +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-15 05:08:42 +00:00
operator Internal::Player() const;
};
}
#endif // INTERACTABLEPLAYER_HPP_INCLUDED