From 9380bfcb0ba6b02917953c4612c9c7dbc147d57f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 11 Sep 2023 13:10:30 +0200 Subject: Board : expose support+commitment and opposition+bases --- lib/colonial_twilight/board.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/colonial_twilight/board.rb b/lib/colonial_twilight/board.rb index 19cc0e9..4acf9b3 100644 --- a/lib/colonial_twilight/board.rb +++ b/lib/colonial_twilight/board.rb @@ -407,7 +407,8 @@ module ColonialTwilight attr_reader :spaces_h, :spaces, :sectors, :cities, :countries - %i[commitment gov_resources fln_resources resettled_sectors france_track border_zone_track].each do |sym| + %i[commitment gov_resources fln_resources resettled_sectors france_track border_zone_track + support_commitment opposition_bases].each do |sym| define_method(sym) { instance_variable_get("@#{sym}").v } end -- cgit v1.1-2-g2b99