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/player.h | 90 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'game/player.h') diff --git a/game/player.h b/game/player.h index cf4146f..c29ea7e 100644 --- a/game/player.h +++ b/game/player.h @@ -1,46 +1,46 @@ -#ifndef PLAYER_H -#define PLAYER_H - -#include - -#include "tech.h" - - -class Player { - public: - Player (int r, int g, int b, int id) : r(r), g(g), b(b), id(id) { } - - void pay (std::vector cost) { - for (int i=0; i gain) { - for (int i=0; i res { 0, 0 }; - std::vector techs; - - TechLookup tech_lookup; - - int researching { -1 }; - int leveling_up { -1 }; - int level { 0 }; - - int r, g, b; -}; - +#ifndef PLAYER_H +#define PLAYER_H + +#include + +#include "tech.h" + + +class Player { + public: + Player (int r, int g, int b, int id) : r(r), g(g), b(b), id(id) { } + + void pay (std::vector cost) { + for (int i=0; i gain) { + for (int i=0; i res { 0, 0 }; + std::vector techs; + + TechLookup tech_lookup; + + int researching { -1 }; + int leveling_up { -1 }; + int level { 0 }; + + int r, g, b; +}; + #endif \ No newline at end of file -- cgit v1.2.3-54-g00ecf