com.rubecula.darwin.visualization
Interface Avatar
- All Known Implementing Classes:
- Avatar_, Avatar_ColorLocation, Avatar_Variable
public interface Avatar
Defines the methods required in order to be able to draw an individual member
of a Visualizable
community.
- Author:
- Robin Hillyard
getColor
java.awt.Color getColor()
- Returns:
- a color suitable for representing this individual.
getIndividual
Individual getIndividual()
- Returns:
- the organism
getLocation
java.awt.Point getLocation()
- Returns:
- a point at which this individual should be presented.
getSize
double getSize()
- Returns:
- the (relative) size of this individual
Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.