JFrame mainFrame = new JFrame("CannonBot - RPGController");
public RobotUI(RobotModel rb) {
this.rb = rb;
mp = new MapComponent(rb);
mainFrame.setSize(800, 600);
mainFrame.add(mp, BorderLayout.CENTER);
mainFrame.setVisible(true);
mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}