com.github.thehilikus.jrobocom.gui.visitor.ModelDrawingVisitor Maven / Gradle / Ivy
package com.github.thehilikus.jrobocom.gui.visitor;
import java.awt.Graphics2D;
import com.github.thehilikus.jrobocom.robot.Robot;
/**
* Implementation of drawing several elements
*
* @author hilikus
*/
public interface ModelDrawingVisitor {
/**
* Show visual representation of a robot
*
* @param g2 the graphics element to use to draw
* @param robot the element to draw
*/
public void draw(Graphics2D g2, Robot robot);
}