2018-03-20 04:35:47 +00:00
|
|
|
#ifndef GAMEOBJECTS_HPP_INCLUDED
|
|
|
|
#define GAMEOBJECTS_HPP_INCLUDED
|
|
|
|
|
2018-05-10 01:08:38 +00:00
|
|
|
#include "../../Game/Interactable/GameObject.hpp"
|
2018-03-20 04:35:47 +00:00
|
|
|
#include <functional>
|
|
|
|
#include <cstdint>
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
namespace GameObjects
|
2018-03-20 04:35:47 +00:00
|
|
|
{
|
2018-12-27 18:17:09 +00:00
|
|
|
std::vector<Interactable::GameObject> GetAllWithin(std::int32_t Distance);
|
2018-03-20 04:35:47 +00:00
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
std::vector<Interactable::GameObject> GetAll();
|
|
|
|
std::vector<Interactable::GameObject> GetAll(const Tile& T);
|
|
|
|
std::vector<Interactable::GameObject> GetAll(std::int32_t ID, std::int32_t Distance = -1);
|
|
|
|
std::vector<Interactable::GameObject> GetAll(const std::string& Name, std::int32_t Distance = -1);
|
|
|
|
std::vector<Interactable::GameObject> GetAll(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
|
|
|
std::vector<Interactable::GameObject> GetAll(const std::vector<std::string>& Names, std::int32_t Distance = -1);
|
|
|
|
std::vector<Interactable::GameObject> GetAll(const std::function<bool (const Interactable::GameObject&)>& Filter, std::int32_t Distance = -1);
|
2018-08-06 04:30:12 +00:00
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
Interactable::GameObject Get(const Tile& T);
|
|
|
|
Interactable::GameObject Get(std::int32_t ID, std::int32_t Distance = -1);
|
|
|
|
Interactable::GameObject Get(const std::string& Name, std::int32_t Distance = -1);
|
|
|
|
Interactable::GameObject Get(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
|
|
|
Interactable::GameObject Get(const std::vector<std::string>& Names, std::int32_t Distance = -1);
|
|
|
|
Interactable::GameObject Get(const std::function<bool (const Interactable::GameObject&)>& Filter, std::int32_t Distance = -1);
|
2018-12-31 21:52:58 +00:00
|
|
|
}
|
2018-03-20 04:35:47 +00:00
|
|
|
|
|
|
|
#endif // GAMEOBJECTS_HPP_INCLUDED
|