lab3lib.faces
Class NullFaceBehavior
java.lang.Object
lab3lib.faces.NullFaceBehavior
- All Implemented Interfaces:
- FaceBehavior
public class NullFaceBehavior
- extends Object
- implements FaceBehavior
A Behavior so a face does nothing - implementation of the Null Object Pattern.
- Author:
- Adrienne M Decker
Created on: Sep 16, 2006
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 |
SINGLETON
public static final NullFaceBehavior SINGLETON
- The Singleton for the Null Behavior
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 do nothing to- See Also:
FaceBehavior.react(lab3lib.faces.Face)