Editor

public class Editor extends JFrame

Fields

addPlayer

JButton addPlayer

cursorGroup

ButtonGroup cursorGroup

error

JTextArea error

fogOfWar

ButtonGroup fogOfWar

fogOff

JRadioButton fogOff

fogOn

JRadioButton fogOn

gamePanel

GamePanel gamePanel

playerSelector

JComboBox playerSelector

resourceAmount

JTextField resourceAmount

revealResources

ButtonGroup revealResources

revealResourcesOff

JRadioButton revealResourcesOff

revealResourcesOn

JRadioButton revealResourcesOn

save

JButton save

screen

GameScreen screen

selectMine

JRadioButton selectMine

selectPointer

JRadioButton selectPointer

selectRemove

JRadioButton selectRemove

selectTree

JRadioButton selectTree

selectUnit

JRadioButton selectUnit

setSize

JButton setSize

state

State state

templateSelector

JComboBox templateSelector

xSize

JTextField xSize

ySize

JTextField ySize

Constructors

Editor

public Editor(GameScreen screen, GamePanel gamePanel, State state, String templatefilename)

Methods

main

public static void main(String[] args)

updateScreen

public void updateScreen()