All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface scrobble.square.CountingSquare

public interface CountingSquare
The CountingSquare interface should be implemented by any square wanting to compute the score of a word.


Method Index

 o letterAction(Letter)
This method is called when we calculate the score of the letter.
 o wordAction(Word)
This method is called when we calculate the score of the word.

Methods

 o letterAction
 public abstract int letterAction(Letter letter)
This method is called when we calculate the score of the letter.

 o wordAction
 public abstract int wordAction(Word word)
This method is called when we calculate the score of the word.


All Packages  Class Hierarchy  This Package  Previous  Next  Index