public class CameraObservableTriangle extends CameraObservableObject
Modifier and Type | Field and Description |
---|---|
private static CasaLispOperator |
IROBOT_ENV__TRIANGLE
Lisp operator: (iRobot-env.new)
Sends a message to the LAC requesting the registered agents. |
private int |
radius |
component
env, twoPI
Constructor and Description |
---|
CameraObservableTriangle(PhysObject decoratedObject,
String name,
int radius,
camera.Colors color,
boolean persistent) |
Modifier and Type | Method and Description |
---|---|
private static int |
fixRadius(PhysObject o,
int radius) |
Shape |
getShape() |
private static Shape |
makeShape(PhysObject o,
int radius) |
getColorName, getShapeName, replace
draw, getAngle, getX, getY, getZOrder, makeAlphaColor
allowMovement, compareTo, equals, exit, getAngleDeg, getColor, getName, getShowHeader, getWidth, hasExited, isAnimated, isCliff, isCorporeal, isLabeled, isMovable, isPaint, isPersistent, isVWall, moveTo, normalizeAngle, processMouseEvent, processMouseMoveEvent, replace, setAnimated, setCliff, setColor, setCorporeal, setLabeled, setMovable, setName, setPaint, setPersistent, setShape, setVWall, setZOrder, show, toString
private int radius
private static final CasaLispOperator IROBOT_ENV__TRIANGLE
public CameraObservableTriangle(PhysObject decoratedObject, String name, int radius, camera.Colors color, boolean persistent) throws Exception
decoratedObject
- name
- shape
- color
- shapeName
- colorName
- persistent
- Exception
private static Shape makeShape(PhysObject o, int radius)
private static int fixRadius(PhysObject o, int radius)
public Shape getShape()
getShape
in class PhysObject