becker.robots.icons
Class StreetlightIcon
java.lang.Object
becker.robots.icons.Icon
becker.robots.icons.CompositeIcon
becker.robots.icons.StreetlightIcon
public class StreetlightIcon
- extends CompositeIcon
An icon used to display a Streetlight
.
- Author:
- Byron Weber Becker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreetlightIcon
public StreetlightIcon(Color lightColor,
Color postColor,
double relativeSize)
- Construct a new icon.
- Parameters:
lightColor
- The color used for the light shining from the
streetlight.postColor
- The color used for the streetlight's post.relativeSize
- A value between 0.0 (very small) and 1.0 (large).