civquest.swing.gameChange
Class SetWorkingField

java.lang.Object
  extended bycivquest.gameChange.AbstractGUIChange
      extended bycivquest.swing.gameChange.SetWorkingField
All Implemented Interfaces:
GameChange, GUIChange

public class SetWorkingField
extends AbstractGUIChange

SetWorkingField.java


Field Summary
 
Fields inherited from class civquest.gameChange.AbstractGUIChange
eventIDs, name
 
Fields inherited from interface civquest.gameChange.GUIChange
NOT_GIVEN, SET_WORKING_FIELD, TOGGLE_UNIT_BLINK
 
Constructor Summary
SetWorkingField(civquest.swing.MapViewComponent mapViewComponent, Coordinate coord)
          Constructs a new SetWorkingField-GUIChange.
 
Method Summary
 void execute()
           
 
Methods inherited from class civquest.gameChange.AbstractGUIChange
getEventIDs, notifyListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetWorkingField

public SetWorkingField(civquest.swing.MapViewComponent mapViewComponent,
                       Coordinate coord)
Constructs a new SetWorkingField-GUIChange. NOTE: Do only use this GUIChange if the WF really changes.

Parameters:
mapViewComponent - this MVC's working-field will be set by this GUIChange
coord - Coordinate of the new working-field; null if no new working-field exists
Method Detail

execute

public void execute()