com.TeamHEC.LocomotionCommotion.Card
Class GoldCard

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

public class GoldCard
extends Card

Author:
Callum Hewitt A Card object which when used adds an amount of gold equal to: ((Shop.cardPrice/2) + x where 0 < x < Shop.cardPrice) to the owner's supply.

Constructor Summary
GoldCard(Player player)
           
 
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

GoldCard

public GoldCard(Player player)
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