aboutsummaryrefslogtreecommitdiff
path: root/game/tile.h
diff options
context:
space:
mode:
authorjacopograndi <jak.sk8@hotmail.it>2021-08-29 13:57:41 +0200
committerjacopograndi <jak.sk8@hotmail.it>2021-08-29 13:57:41 +0200
commitace5c3f3093c50ff7fa6f8b281a377e3788abbd5 (patch)
tree8a52803dc2b777822e9b1cab148bec8798bfeadf /game/tile.h
parenta8bcacc95045102e67f2feabbdddf79535837554 (diff)
adding techs
Diffstat (limited to 'game/tile.h')
-rw-r--r--game/tile.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/game/tile.h b/game/tile.h
index 3b83531..64e9132 100644
--- a/game/tile.h
+++ b/game/tile.h
@@ -11,11 +11,11 @@ class Tile {
Tile() {}
std::string name;
- int move_cost;
- int sight_cost;
- int range_bonus;
- float attack_bonus;
- float defence_bonus;
+ int move_cost { 1 };
+ int sight_cost { 1 };
+ int range_bonus { 0 };
+ float attack_bonus { 0 };
+ float defence_bonus { 0 };
vec2 spritebounds;
};