Commit d2c080ed authored by Luboš Horáček's avatar Luboš Horáček

#333 Zvětšení mapy o jednu dlaždici každým směrem, aby nešlo dojet na kraj mapy

parent bf944c7d
...@@ -98,8 +98,8 @@ public class UnosActivity extends GameActivity { ...@@ -98,8 +98,8 @@ public class UnosActivity extends GameActivity {
public static final int GAME_STOPS = 5; // 5 public static final int GAME_STOPS = 5; // 5
public static final int MAP_WIDTH = Math.max(3 * GAME_STOPS, 10); public static final int MAP_WIDTH = Math.max((3 * GAME_STOPS) + 2, 10);
public static final int MAP_HEIGHT = Math.max(2 * GAME_STOPS, 5); public static final int MAP_HEIGHT = Math.max((2 * GAME_STOPS) + 2, 5);
private static final String GAMESTATE_MAP_KEY = "gamestate_map"; private static final String GAMESTATE_MAP_KEY = "gamestate_map";
private static final String GAMESTATE_PATH_KEY = "gamestate_path"; private static final String GAMESTATE_PATH_KEY = "gamestate_path";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment