Uses of Class
sema.Drawing

Packages that use Drawing
examples Some examples of agents and worlds.  
modelling Modelling of the main features of a world and agents' behaviours.  
sema Extensible Multi-Agent Simulator.  
worlds Some examples of agents and worlds.  
 

Uses of Drawing in examples
 

Methods in examples with parameters of type Drawing
 void RectangularAreaContour.draw(Drawing g)
           
 

Constructors in examples with parameters of type Drawing
GradientWorld(Engine engine, Map map, Nature nature, Drawing drawing, java.lang.String name, java.lang.String comments)
          Needed constuctor
 

Uses of Drawing in modelling
 

Methods in modelling with parameters of type Drawing
 void CircularArea.draw(Drawing g)
           
 void CircularArea.fill(Drawing g, java.awt.Color c)
           
 void CircularArea.drawBorder(Drawing g, java.awt.Color c)
           
 void CircularArea.highlight(Drawing g, java.awt.Color c)
           
 void PonctualArea.draw(Drawing g)
           
 void PonctualArea.fill(Drawing g, java.awt.Color c)
           
 void PonctualArea.drawBorder(Drawing g, java.awt.Color c)
           
 void PonctualArea.highlight(Drawing g, java.awt.Color c)
           
 void RectangularArea.draw(Drawing g)
           
 void RectangularArea.fill(Drawing g, java.awt.Color c)
           
 void RectangularArea.drawBorder(Drawing g, java.awt.Color c)
           
 void RectangularArea.highlight(Drawing g, java.awt.Color c)
           
 

Constructors in modelling with parameters of type Drawing
ObstacleBox(Map map, Drawing drawing, int x, int y, float height, java.lang.String kind, java.awt.Image image)
           
 

Uses of Drawing in sema
 

Fields in sema declared as Drawing
protected  Drawing Box.g
           
 Drawing World.drawing
          The drawing interface associated with this world.
 

Methods in sema with parameters of type Drawing
 void Area.draw(Drawing g)
          Draws the Area and eventually the image of the associated element.
 void Area.fill(Drawing g, java.awt.Color c)
          Fills the area with the given color.
 void Area.drawBorder(Drawing g, java.awt.Color c)
          Draws the borders of the area with the given color.
 void Area.highlight(Drawing g, java.awt.Color c)
          Highlights the Area. is used when it's selected in the interface.
 

Constructors in sema with parameters of type Drawing
Box(Map map, Drawing drawing, int x, int y, float height, java.lang.String kind, java.awt.Image image)
          Constructs a Box.
World(Engine engine, Map map, Nature nature, Drawing drawing, java.lang.String name, java.lang.String comments)
          Constructs a World with an engine a map a drawing and a nature.
 

Uses of Drawing in worlds
 

Constructors in worlds with parameters of type Drawing
CoveringBox(Map map, Drawing g, int x, int y, float height, java.lang.String kind)