From 88d55998d01cc76de6d868d9ad52d4ab5f78fa43 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 19 Apr 2020 12:59:25 +0200 Subject: [PATCH] Change DamageSource enum to Arbutils Enum. --- src/Battling/Models/DamageSource.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Battling/Models/DamageSource.hpp b/src/Battling/Models/DamageSource.hpp index 81cf7b7..c3b97c7 100644 --- a/src/Battling/Models/DamageSource.hpp +++ b/src/Battling/Models/DamageSource.hpp @@ -1,12 +1,11 @@ #ifndef CREATURELIB_DAMAGESOURCE_HPP #define CREATURELIB_DAMAGESOURCE_HPP +#include #include namespace CreatureLib::Battling { - enum class DamageSource : uint8_t { - AttackDamage, - }; + ENUM(DamageSource, uint8_t, AttackDamage); } #endif // CREATURELIB_DAMAGESOURCE_HPP