org.moyoman.client.reference
Class MousePlayerFactory
java.lang.Object
|
+--org.moyoman.client.reference.MousePlayerFactory
- All Implemented Interfaces:
- NonvalidatedPlayerFactory
- public class MousePlayerFactory
- extends Object
- implements NonvalidatedPlayerFactory
Provides a factory for creating mouse players.
- Since:
- v0.03
- Version:
- v0.03
- Author:
- Jeffrey M. Thompson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_owner
private IMoyoman _owner
- Owner.
MousePlayerFactory
public MousePlayerFactory(IMoyoman owner)
- Construct this object with the given parameters.
- Parameters:
owner
- The owner.- Since:
- v0.03
create
public NonvalidatedPlayer create(Color c,
Handicap h,
String id)
throws InternalErrorException
- Create a player using the given parameters.
- Specified by:
create
in interface NonvalidatedPlayerFactory
- Parameters:
c
- The color of the player.h
- The handicap of the game.id
- Game ID.
InternalErrorException
- Since:
- v0.03