Sha256: 7e0bffc00b1562b2ab7b9c6d68263c1255f1a9e69041e4d60bfff7573d85a00a
Contents?: true
Size: 445 Bytes
Versions: 2
Compression:
Stored size: 445 Bytes
Contents
require_relative 'has_hints' # Ein Zug, der einen auf dem Spielbrett befindlichen Spielstein bewegt. class DragMove include HasHints attr_reader :start attr_reader :destination # @param start [CubeCoordinates] # @param destination [CubeCoordinates] def initialize(start, destination) @start = start @destination = destination @hints = [] end def to_s "[Move: Drag from #{start} to #{destination}]" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
software_challenge_client-20.2.4 | lib/software_challenge_client/drag_move.rb |
software_challenge_client-20.2.3 | lib/software_challenge_client/drag_move.rb |