diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-09-03 16:07:42 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-09-03 16:07:42 +0200 |
commit | 75b0668650af1111a7de4b7420d2ae928595a23b (patch) | |
tree | 9944f5e8e0dfa98e6042a0b61c441b08f6677b19 /lib/colonial_twilight/player.rb | |
parent | feeb4c01216a1184f76c670cf790cb59898efef3 (diff) | |
download | colonial-twilight-75b0668650af1111a7de4b7420d2ae928595a23b.zip colonial-twilight-75b0668650af1111a7de4b7420d2ae928595a23b.tar.gz |
Player : add #debug_selected_spaces
Diffstat (limited to 'lib/colonial_twilight/player.rb')
-rw-r--r-- | lib/colonial_twilight/player.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/colonial_twilight/player.rb b/lib/colonial_twilight/player.rb index bc91cd1..f8ed62c 100644 --- a/lib/colonial_twilight/player.rb +++ b/lib/colonial_twilight/player.rb @@ -90,6 +90,10 @@ module ColonialTwilight @special_activity_count += 1 end + def debug_selected_spaces + puts "\tselected spaces :: " + @selected_spaces.collect(){|s| s.is_a?(Symbol) ? s.to_s : s.name}.join(' :: ') if @debug + end + end end |