|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.stack.phasetype.StackCondition
public abstract class StackCondition
Field Summary | |
---|---|
int |
idCardsForOPPONENT
IdCard that non-current player can play during this phase |
int |
idCardsForYOU
IdCard that current player can play during this phase |
Method Summary | |
---|---|
abstract 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 |
Field Detail |
---|
public int idCardsForYOU
public int idCardsForOPPONENT
Method Detail |
---|
public abstract boolean canICast(int idCard, boolean isYou)
idCard
- id of card we would castingisYou
- is the current player waiting for that
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |