lab3lib.faces
Class YawningFaceBehavior

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

public class YawningFaceBehavior
extends Object
implements FaceBehavior

Behavior for a bored face.

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

Constructor Summary
YawningFaceBehavior()
           
 
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

YawningFaceBehavior

public YawningFaceBehavior()
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 yawn.
See Also:
FaceBehavior.react(lab3lib.faces.Face)