com.rubecula.darwin.visualization
Class AvatarFactory

java.lang.Object
  extended by com.rubecula.darwin.visualization.AvatarFactory

public final class AvatarFactory
extends java.lang.Object

Factory Class to create Avatar objects. Applications can't change this class (it is final) but they can override the methods which call these methods.

Author:
Robin Hillyard

Method Summary
static Avatar makeAvatar(Individual individual, java.awt.Point location, java.awt.Color color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeAvatar

public static Avatar makeAvatar(Individual individual,
                                java.awt.Point location,
                                java.awt.Color color)
Parameters:
individual - the individual which is modeled by this avatar.
location -
color -
Returns:
a newly constructed Avatar_Variable.


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.