Finally unified all of my events into one place.
This commit is contained in:
parent
6c34fea64a
commit
c618a4828f
30 changed files with 215 additions and 216 deletions
|
|
@ -5,10 +5,6 @@
|
|||
#include "spatialmap.hpp"
|
||||
#include "game_level.hpp"
|
||||
|
||||
namespace gui {
|
||||
enum class Event;
|
||||
}
|
||||
|
||||
namespace System {
|
||||
using namespace components;
|
||||
using namespace DinkyECS;
|
||||
|
|
@ -49,7 +45,7 @@ namespace System {
|
|||
void set_position(DinkyECS::World& world, SpatialMap& collision, Entity entity, Position pos);
|
||||
bool use_item(const std::string& slot_name);
|
||||
|
||||
gui::Event shortest_rotate(Point player_at, Point aiming_at, Point turning_to);
|
||||
game::Event shortest_rotate(Point player_at, Point aiming_at, Point turning_to);
|
||||
|
||||
template <typename T>
|
||||
void multi_path(GameDB::Level& level, Pathing& paths, Matrix& walls) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue