All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class scrobble.square.DoubleLetterSquare

java.lang.Object
   |
   +----scrobble.square.Square
           |
           +----scrobble.square.DoubleLetterSquare

public class DoubleLetterSquare
extends Square
The DoubleLetterSquare class represents a square that makes a letter count double.


Constructor Index

 o DoubleLetterSquare()

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.

Constructors

 o DoubleLetterSquare
 public DoubleLetterSquare()

Methods

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

 o wordAction
 public 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