|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.test.Test net.sf.magicproject.test.TestObject net.sf.magicproject.test.TestCard net.sf.magicproject.test.IsFaceUp
@XmlTestElement(id=IS_FACE_UP) public class IsFaceUp
Method Summary | |
---|---|
void |
extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
Add to the specified list, the events modifying the result of this test. |
boolean |
testCard(Ability ability,
MCard tested)
Return the result of test beetwen left and right op applied on the specified card. |
Methods inherited from class net.sf.magicproject.test.TestCard |
---|
test |
Methods inherited from class net.sf.magicproject.test.Test |
---|
getConstraintTest, getOptimizedController, testPreemption |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean testCard(Ability ability, MCard tested)
TestCard
ability
- is the ability owning this test. The card component of this
ability should correspond to the card owning this test too.tested
- the tested card
public void extractTriggeredEvents(java.util.List<MEventListener> res, MCard source, Test globalTest)
Test
extractTriggeredEvents
in class Test
res
- is the list of events to fillsource
- is the card source of eventglobalTest
- the optional global test to include in the event test.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |