lab3lib.faces
Class SurprisedFaceBehavior

java.lang.Object
  extended by lab3lib.faces.SurprisedFaceBehavior
All Implemented Interfaces:
FaceBehavior

public class SurprisedFaceBehavior
extends Object
implements FaceBehavior

The behavior for a face to be surprised.

Author:
Adrienne M Decker Created on: Sep 16, 2006

Constructor Summary
SurprisedFaceBehavior()
           
 
Method Summary
 void react(Face f)
          Method that describes how a face should react.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurprisedFaceBehavior

public SurprisedFaceBehavior()
Method Detail

react

public void react(Face f)
Description copied from interface: FaceBehavior
Method that describes how a face should react.

Specified by:
react in interface FaceBehavior
Parameters:
f - The face to cause to look surprised.
See Also:
FaceBehavior.react(lab3lib.faces.Face)