sdr 0.7

net.cscott.sdr
Class ScoreAccumulator

java.lang.Object
  extended by net.cscott.sdr.ScoreAccumulator

public class ScoreAccumulator
extends Object

This interface is the means of communication between the choreography engine and the game score mechanism. Information about flow, formation variety, and call repetition will be communicated through calls to an object implementing this interface. That object is responsible for (a) assigning numerical weights to the different scoring events/criteria, and (b) communicating these events/criteria to the player (for example, by updating score meters or displaying messages).

Version:
$Id: ScoreAccumulator.java,v 1.2 2006-11-10 15:24:20 cananian Exp $
Author:
C. Scott Ananian

Method Summary
 void dancersWaiting()
           
 void goodCallGiven(Apply theCall, Formation endingFormation, long startTime, long endTime)
           
 void illegalCallGiven(String theBadCall, String message)
           
 void resetScore(Program program)
          Called at the beginning of a player's turn.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resetScore

public void resetScore(Program program)
Called at the beginning of a player's turn.


goodCallGiven

public void goodCallGiven(Apply theCall,
                          Formation endingFormation,
                          long startTime,
                          long endTime)

illegalCallGiven

public void illegalCallGiven(String theBadCall,
                             String message)

dancersWaiting

public void dancersWaiting()

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian