1 #ifndef MINIMAP_HPP_INCLUDED
2 #define MINIMAP_HPP_INCLUDED
4 #include "../../Core/Types/Tile.hpp"
5 #include "../../Core/Types/Point.hpp"
6 #include "../../Core/Classes/Region.hpp"
84 bool WalkPath(
const std::vector<Tile>& Path, std::int32_t Distance, std::int32_t Random);
85 bool WalkPath(
const std::vector<Tile>& Path, std::int32_t Distance, std::int32_t Random, std::function<
bool()> Func);
bool ClickCompass()
Clicks on the minimap compass to quickly face North.
Tile GetDestination()
Returns the tile of the local players destination.
bool ClickToggleRun()
Clicks the toggle-run orb.
Tile GetPosition()
Returns the tile the local player is on.
Point GetMiddle()
Returns the middle point of the minimap.
bool WalkPath(const std::vector< Tile > &Path, std::int32_t Distance, std::int32_t Random)
bool ClickTile(const Tile &T, std::int32_t Random=5)
bool IsCloseTo(const Tile &T, std::int32_t Distance)
Returns true if the local players position is close to the passed tile, uses pixels as distance.
bool ClickQuickPrayer()
Clicks the quick-prayer orb.
bool IsTileOn(const Tile &T)
Returns true if the passed tile is on the minimap.
bool IsReachable(const Tile &T)
bool ClickCure()
When poisoned, clicks on the health orb to cure.
std::int32_t GetPlane()
Returns the plane the local player is on.