Class Tracksail.StartGameActionListener

java.lang.Object
  extended byTracksail.StartGameActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
Tracksail

class Tracksail.StartGameActionListener
extends java.lang.Object
implements java.awt.event.ActionListener

Handles clicking the 'start game' in a race.


Constructor Summary
(package private) Tracksail.StartGameActionListener()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          If we are the master player, begin racing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tracksail.StartGameActionListener

Tracksail.StartGameActionListener()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
If we are the master player, begin racing.

The button is disabled for everyone but the master player, so this event should never occur with others.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - ActionEvent tapahtuma