2016-06-04 14:59:40 -04:00
|
|
|
|
|
|
|
#:include debug.kv
|
|
|
|
|
|
|
|
<StrategyGame>:
|
2016-06-04 15:23:40 -04:00
|
|
|
id: _game
|
2016-06-04 15:06:41 -04:00
|
|
|
main_map: _main_map
|
2016-06-04 15:23:40 -04:00
|
|
|
map_rows: 10
|
|
|
|
map_cols: 10
|
2016-06-04 14:59:40 -04:00
|
|
|
BoxLayout:
|
|
|
|
orientation: 'horizontal'
|
2016-06-04 15:06:41 -04:00
|
|
|
GridLayout:
|
|
|
|
id: _main_map
|
2016-06-04 15:23:40 -04:00
|
|
|
game: _game
|
|
|
|
cols: root.map_cols
|
2016-06-04 14:59:40 -04:00
|
|
|
size_hint: .75, 1
|
|
|
|
BoxLayout:
|
|
|
|
orientation: 'vertical'
|
|
|
|
size_hint: .25, 1
|
|
|
|
DebugLabel:
|
|
|
|
text: 'status'
|
|
|
|
size_hint: 1, .66
|
|
|
|
DebugLabel:
|
|
|
|
text: 'mini-map'
|
|
|
|
size_hint: 1, .33
|