com.TeamHEC.LocomotionCommotion.Map
Interface StationListener

All Known Implementing Classes:
Game_Map_Station

public interface StationListener

Author:
Matthew Taylor , Oliver Binns

Method Summary
 void ownerChanged(Station station, Player player)
          Deprecated. please use updateButton method instead
 void updateButton(Station station, Player player)
          Any class than implements this will be notified of a change in ownership of the station
 

Method Detail

updateButton

void updateButton(Station station,
                  Player player)
Any class than implements this will be notified of a change in ownership of the station

Parameters:
station - the station which has changed owner
player - the new owner of the station

ownerChanged

void ownerChanged(Station station,
                  Player player)
Deprecated. please use updateButton method instead

Method has been replaced with updateButton method which takes the same parameters. Update button is a more appropriate name as faults are now supported by this method.

Parameters:
station - the station which has changed owner
player - the new owner of the station