-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.gui.effects.Effect,java.io.Serializable
public class DrawCognitiveMap extends DrawOnce
Draws an orienting pedestrian' cognitive map.
-
-
Method Summary
Modifier and Type Method Description RangedIntegergetAlpha()voidsetAlpha(RangedInteger alpha)RangedIntegergetRed()voidsetRed(RangedInteger red)RangedIntegergetGreen()voidsetGreen(RangedInteger green)RangedIntegergetBlue()voidsetBlue(RangedInteger blue)<T, P extends Position2D<P>> voidapply(Graphics2D graphics, Node<T> node, Environment<T, P> environment, Wormhole2D<P> wormhole)ColorgetColorSummary()-
Methods inherited from class it.unibo.alchemist.boundary.gui.effects.DrawOnce
getMarkerNodeID -
Methods inherited from class it.unibo.alchemist.boundary.gui.effects.Effect
apply, apply, equals, hashCode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAlpha
RangedInteger getAlpha()
-
setAlpha
void setAlpha(RangedInteger alpha)
- Parameters:
alpha- alpha channel
-
getRed
RangedInteger getRed()
-
setRed
void setRed(RangedInteger red)
- Parameters:
red- red channel
-
getGreen
RangedInteger getGreen()
-
setGreen
void setGreen(RangedInteger green)
- Parameters:
green- green channel
-
getBlue
RangedInteger getBlue()
-
setBlue
void setBlue(RangedInteger blue)
- Parameters:
blue- blue channel
-
apply
<T, P extends Position2D<P>> void apply(Graphics2D graphics, Node<T> node, Environment<T, P> environment, Wormhole2D<P> wormhole)
- Parameters:
graphics- graphicsnode- nodeenvironment- environmentwormhole- the wormhole used to map environment's coords to screen coords
-
getColorSummary
Color getColorSummary()
-
-
-
-