package voodoo.collection.card.rules;
import voodoo.collection.card.Card;
import voodoo.collection.effect.effects.GiveTurnResourcesEffect;
import voodoo.collection.gameplay.player.Player;
import voodoo.collection.utility.Event;
import voodoo.collection.utility.Listener;
public class TurnBeginRulesCard extends Card implements Listener {
public TurnBeginRulesCard( Player player ) {
// Register for turn events
player.registerForEvent( this, Event.TURN_BEGIN_EVENT );
_action.setEffect( new GiveTurnResourcesEffect() );
}
public void notify(Event event) {
play();
}
}