Toast Engine
Loading...
Searching...
No Matches
destruction_event.hpp
Go to the documentation of this file.
1
7
8#pragma once
9
10#include <glm/vec3.hpp>
11#include <toast/events/event.hpp>
12
13namespace event {
14
15struct DestructionEvent : public Event<DestructionEvent> {
16 glm::vec3 position;
17 int voxel_count;
18
19 DestructionEvent(glm::vec3 position, int voxel_count) : position(position), voxel_count(voxel_count) { }
20};
21
22}