com.TeamHEC.LocomotionCommotion.Card
Class ElectricCard

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

public class ElectricCard
extends ResourceCard

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

Constructor Summary
ElectricCard(Player player)
          Initialises the ElectricCard
 
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

ElectricCard

public ElectricCard(Player player)
Initialises the ElectricCard

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