lib/shogi/piece.rb in shogi-ruby-0.0.4 vs lib/shogi/piece.rb in shogi-ruby-0.0.5

- old
+ new

@@ -31,11 +31,11 @@ MOVEMENTS = [[-1, 2], [ 1, 2]] PROMOTER = NK def initialize - super(CSA_NAME, USI_NAME, MOVEMENTS) + super(CSA_NAME, USI_NAME, MOVEMENTS, PROMOTER) end end class GI < Base CSA_NAME = "GI" @@ -46,10 +46,10 @@ [-1, -1], [ 1, -1]] PROMOTER = NG def initialize - super(CSA_NAME, USI_NAME, MOVEMENTS) + super(CSA_NAME, USI_NAME, MOVEMENTS, PROMOTER) end end class KI < Base CSA_NAME = "KI"