G1HGui
Graphical user interface for Game One example game. Each player can move one hex tile step. Any move to a tile already containing a player or that one more than one player is attempting to move to fails.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass HGridSysGuitrait CmdBarGuitrait CanvasPanelledtrait CanvasUserclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
There are no moves set. The Gui is reset to this state at the start of every turn.
There are no moves set. The Gui is reset to this state at the start of every turn.
Attributes
Creates the turn button and the action to commit on mouse click.
Creates the turn button and the action to commit on mouse click.
Attributes
Inherited methods
Attributes
- Inherited from:
- CanvasPanelled
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- CmdBarGui
This reverses the order of the GraphicActive List. Method paints objects to screen as side effect.
This reverses the order of the GraphicActive List. Method paints objects to screen as side effect.
Attributes
- Inherited from:
- CanvasUser
Attributes
- Inherited from:
- HGridSysGui
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
repaints the top command bar
Attributes
- Inherited from:
- CanvasPanelled
This method creates a new frame for the panel. It clips the painting area. Paints the Panel with the back colour, translates the GraphicElems from their positions relative to the Panel's centre to their absolute positions on the canvas. It stores the active object shapes with their absolute positions on the panels active object list. Finally it unclips the painting area.
This method creates a new frame for the panel. It clips the painting area. Paints the Panel with the back colour, translates the GraphicElems from their positions relative to the Panel's centre to their absolute positions on the canvas. It stores the active object shapes with their absolute positions on the panels active object list. Finally it unclips the painting area.
Attributes
- Inherited from:
- CanvasPanelled
Attributes
- Inherited from:
- HGridSysGui
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- HGridSysGui
Concrete fields
This is the planned moves or orders for the next turn. Note this is just a record of the planned moves it is not graphical display of those moves. This data is state for the Gui.
This is the planned moves or orders for the next turn. Note this is just a record of the planned moves it is not graphical display of those moves. This data is state for the Gui.
Attributes
Inherited fields
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- CanvasPanelled
Selected takes the type Any, but the value None means nothing selected.
Selected takes the type Any, but the value None means nothing selected.
Attributes
- Inherited from:
- CmdBarGui
The text for the status field of the command bar.
Attributes
- Inherited from:
- HGridSysGui