elge.world
Interface WorldDisplay

All Known Implementing Classes:
Display2DWorld

public interface WorldDisplay

Enables implementor to display itself..

Author:
Palino

Method Summary
 void paint(Graphics gfx, AgentRepresentation wr)
          Paints the representation to the gfx if it is supported.
 boolean supports(AgentRepresentation wr)
          Checks if the implementation supports this type of representation
 

Method Detail

paint

public void paint(Graphics gfx,
                  AgentRepresentation wr)
Paints the representation to the gfx if it is supported. If not, nothing should be painted ! No error, just leave it.


supports

public boolean supports(AgentRepresentation wr)
Checks if the implementation supports this type of representation