net.sf.magicproject.stack.phasetype
Class MiddleResolution

java.lang.Object
  extended by net.sf.magicproject.stack.phasetype.StackCondition
      extended by net.sf.magicproject.stack.phasetype.MiddleResolution

public class MiddleResolution
extends StackCondition

Since:
0.60
Author:
Fabrice Daugan

Field Summary
 
Fields inherited from class net.sf.magicproject.stack.phasetype.StackCondition
idCardsForOPPONENT, idCardsForYOU
 
Method Summary
 boolean canICast(int idCard, boolean isYou)
          Tell if a player can cast a card with this idCard.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

canICast

public boolean canICast(int idCard,
                        boolean isYou)
Tell if a player can cast a card with this idCard.

Specified by:
canICast in class StackCondition
Parameters:
idCard - id of card we would casting
isYou - is the current player waiting for that
Returns:
true if the player can cast a card with this idCard


Copyright © 2003-2007 Magic-Project. All Rights Reserved.