From bb16c32bde58cba70e4877aa2d3ebd04332eb575 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Tue, 4 Jan 2022 13:35:02 +0100 Subject: linux compile and imgs --- game/entity.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'game/entity.cpp') diff --git a/game/entity.cpp b/game/entity.cpp index f127150..8539045 100644 --- a/game/entity.cpp +++ b/game/entity.cpp @@ -1,11 +1,11 @@ -#include "entity.h" -#include - - -int EntityClass::from_string (std::string str) { - if (str == "inf") return EntityInfo::Class::inf; - if (str == "cav") return EntityInfo::Class::cav; - if (str == "ran") return EntityInfo::Class::ran; - if (str == "sie") return EntityInfo::Class::sie; - if (str == "bld") return EntityInfo::Class::bld; +#include "entity.h" +#include + + +int EntityClass::from_string (std::string str) { + if (str == "inf") return EntityInfo::Class::inf; + if (str == "cav") return EntityInfo::Class::cav; + if (str == "ran") return EntityInfo::Class::ran; + if (str == "sie") return EntityInfo::Class::sie; + if (str == "bld") return EntityInfo::Class::bld; } \ No newline at end of file -- cgit v1.2.3-54-g00ecf