com.TeamHEC.LocomotionCommotion.Card
Class CoalCard

java.lang.Object
  extended by com.TeamHEC.LocomotionCommotion.Card.Card
      extended by com.TeamHEC.LocomotionCommotion.Card.ResourceCard
          extended by com.TeamHEC.LocomotionCommotion.Card.CoalCard

public class CoalCard
extends ResourceCard

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

Constructor Summary
CoalCard(Player player)
          Initialises the CoalCard
 
Method Summary
 
Methods inherited from class com.TeamHEC.LocomotionCommotion.Card.ResourceCard
implementCard
 
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

CoalCard

public CoalCard(Player player)
Initialises the CoalCard

Parameters:
player - The player who will own the generated Card.