VIPRA Documentation
Loading...
Searching...
No Matches
VIPRA::Modules::Map Class Reference

Base Map Module Class. More...

#include <map.hpp>

Inheritance diagram for VIPRA::Modules::Map:

Public Member Functions

void reset_module ()
 
virtual void obstacle_added (VIPRA::Geometry::Polygon const &obstacle)
 
virtual void objective_added (std::string const &type, VIPRA::Geometry::Polygon const &objective)
 
virtual void area_added (std::string const &name, VIPRA::Geometry::Polygon const &polygon)
 
virtual auto collision (VIPRA::f3d point) const -> bool
 
virtual auto collision (VIPRA::Geometry::Circle const &radius) const -> bool
 
virtual auto ray_hit (VIPRA::f3d start, VIPRA::f3d end) const -> VIPRA::f_pnt
 
void add_obstacle (VIPRA::Geometry::Polygon const &obstacle)
 
void add_objective (std::string const &type, VIPRA::Geometry::Polygon const &objective)
 
void add_spawn (VIPRA::Geometry::Polygon const &spawn)
 
void add_area (std::string const &name, VIPRA::Geometry::Polygon const &polygon)
 
auto get_objectives () const -> std::map< std::string, std::vector< VIPRA::Geometry::Polygon > > const &
 
auto get_objectives (std::string const &type) const -> std::vector< VIPRA::Geometry::Polygon > const &
 
auto get_dimensions () const -> VIPRA::f3d
 
auto get_objective_types () const -> std::vector< std::string > const &
 
auto get_obstacles () const -> std::vector< VIPRA::Geometry::Polygon > const &
 
auto get_spawns () const -> std::vector< VIPRA::Geometry::Polygon > const &
 
auto get_areas () const -> std::map< std::string, VIPRA::Geometry::Polygon >
 
void initialize (VIPRA::Modules::MapInput &input)
 
 Map (const Map &)=default
 
 Map (Map &&) noexcept=default
 
auto operator= (const Map &) -> Map &=default
 
auto operator= (Map &&) noexcept -> Map &=default
 

Public Attributes

virtual VIPRA_MAP_INIT = 0
 
virtual VIPRA_MAP_RESET = 0
 

Detailed Description

Base Map Module Class.


The documentation for this class was generated from the following file: