diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2023-09-11 13:10:30 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2023-09-11 13:10:30 +0200 |
commit | 9380bfcb0ba6b02917953c4612c9c7dbc147d57f (patch) | |
tree | a55df8eb4b1c127296a2803dc330bb2b99f94983 | |
parent | 41407bc0f65b8088a688e2b82914d5eaacb50ada (diff) | |
download | colonial-twilight-9380bfcb0ba6b02917953c4612c9c7dbc147d57f.zip colonial-twilight-9380bfcb0ba6b02917953c4612c9c7dbc147d57f.tar.gz |
Board : expose support+commitment and opposition+bases
-rw-r--r-- | lib/colonial_twilight/board.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |