2018-08-19 15:52:11 +00:00
|
|
|
#ifndef PROJECTILES_HPP_INCLUDED
|
|
|
|
#define PROJECTILES_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "../../Game/Interactable/Projectile.hpp"
|
|
|
|
#include <functional>
|
|
|
|
#include <cstdint>
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
namespace Projectiles
|
2018-08-19 15:52:11 +00:00
|
|
|
{
|
2018-12-27 18:17:09 +00:00
|
|
|
std::vector<Interactable::Projectile> GetAllWithin(std::int32_t Distance);
|
|
|
|
std::vector<Interactable::Projectile> GetAll();
|
2018-08-19 15:52:11 +00:00
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
std::vector<Interactable::Projectile> GetAll(const Tile& T);
|
|
|
|
std::vector<Interactable::Projectile> GetAll(std::int32_t ID, std::int32_t Distance = -1);
|
|
|
|
std::vector<Interactable::Projectile> GetAll(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
|
|
|
std::vector<Interactable::Projectile> GetAll(const std::function<bool (Interactable::Projectile&)>& Filter, std::int32_t Distance = -1);
|
2018-08-19 15:52:11 +00:00
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
Interactable::Projectile Get(const Tile& T);
|
|
|
|
Interactable::Projectile Get(std::int32_t ID, std::int32_t Distance = -1);
|
|
|
|
Interactable::Projectile Get(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
|
|
|
Interactable::Projectile Get(const std::function<bool (Interactable::Projectile&)>& Filter, std::int32_t Distance = -1);
|
2018-12-31 21:52:58 +00:00
|
|
|
}
|
2018-08-19 15:52:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif // PROJECTILES_HPP_INCLUDED
|