com.TeamHEC.LocomotionCommotion.Card
Class TeleportCard

java.lang.Object
  extended by com.TeamHEC.LocomotionCommotion.Card.Card
      extended by com.TeamHEC.LocomotionCommotion.Card.TeleportCard

public class TeleportCard
extends Card

Author:
Matthew Taylor , Sam Watkins Teleports a train (currently to London should be changed and worked in with UI so it teleports to a specified location).

Constructor Summary
TeleportCard(Player player)
          Initialises the card
 
Method Summary
 void implementCard()
          A method to be overridden in subclasses.
 
Methods inherited from class com.TeamHEC.LocomotionCommotion.Card.Card
getImage, getName, getOwner, setOwner
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeleportCard

public TeleportCard(Player player)
Initialises the card

Parameters:
player - The owner of the card.
Method Detail

implementCard

public void implementCard()
Description copied from class: Card
A method to be overridden in subclasses. This determines what happens when the card is used.

Overrides:
implementCard in class Card