lib/engine/game/g_1862/game.rb
# determine if a legal upgrade for this hex has an additional
# slot
# FIXME: this should check to see if an upgrade tile is available and has a legal rotation
determine if a legal upgrade for this hex has an additional
slot
FIXME: this should check to see if an upgrade tile is available and has a legal rotation
determine if a legal upgrade for this hex has an additional slot FIXME : this should check to see if an upgrade tile is available and has a legal rotation
def upgrade_tokenable?(hex)
          current_tile = hex.tile
          (current_tile.color == :yellow && @phase.tiles.include?(:green)) ||
            (current_tile.color == :green && current_tile.label.to_s == 'N' && @phase.tiles.include?(:brown))
        end
def upgrade_tokenable? ( hex ) current_tile = hex . tile ( current_tile . color == :yellow && @phase . tiles . include? ( :green ) ) || ( current_tile . color == :green && current_tile . label . to_s == 'N' && @phase . tiles . include? ( :brown ) ) end
determine if a legal upgrade for this hex has an additional
slot
FIXME: this should check to see if an upgrade tile is available and has a legal rotation
determine if a legal upgrade for this hex has an additional slot FIXME : this should check to see if an upgrade tile is available and has a legal rotation
hex
<not_specific>