messages.hpp 426 Bytes
Newer Older
1
2
#pragma once

Florian Oetke's avatar
Florian Oetke committed
3
#include <mirrage/ecs/types.hpp>
Florian Oetke's avatar
Florian Oetke committed
4
#include <mirrage/utils/str_id.hpp>
5

6
7
8
#include <glm/vec3.hpp>


9
10
11
12
13
14
15
namespace phase_shifter {

	struct Win_msg {
	};
	struct Lose_msg {
	};

16
	struct Entity_hit_wall_msg {
Florian Oetke's avatar
Florian Oetke committed
17
18
		mirrage::ecs::Entity_handle entity;
	};
19
20
21
22
	struct Enemy_killed_msg {
		glm::vec3 position;
		glm::vec3 attack_direction;
	};
Florian Oetke's avatar
Florian Oetke committed
23

Florian Oetke's avatar
Florian Oetke committed
24
25
26
27
	struct Play_sound_msg {
		mirrage::util::Str_id id;
	};

28
} // namespace phase_shifter