OSDN Git Service

Merge branch 'master' into wdoor-stable
[shogi-server/shogi-server.git] / shogi_server / time_clock.rb
index 52a747d..06ac229 100644 (file)
@@ -125,11 +125,6 @@ class ChessClockWithLeastZero < ChessClock
     super
   end
 
-  def time_duration(mytime, start_time, end_time)
-    t = end_time - start_time
-    return t.floor
-  end
-
   def to_s
     return "ChessClockWithLeastZero: LeastTimePerMove %d; TotalTime %d; Byoyomi %d" % [@least_time_per_move, @total_time, @byoyomi]
   end