com.TeamHEC.LocomotionCommotion.Card
Class OilCard

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

public class OilCard
extends ResourceCard

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

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

OilCard

public OilCard(Player player)