net.sf.magicproject.event.context
Class MContextCardCardIntIntTest

java.lang.Object
  extended by net.sf.magicproject.event.context.MContextMtargetable
      extended by net.sf.magicproject.event.context.MContextCardCardIntInt
          extended by net.sf.magicproject.event.context.MContextCardCardIntIntTest
All Implemented Interfaces:
ContextEventListener

public class MContextCardCardIntIntTest
extends MContextCardCardIntInt

Since:
0.86
Author:
Fabrice Daugan

Field Summary
 Test test
          The integer that was saved.
 
Constructor Summary
MContextCardCardIntIntTest(Targetable dest, MCard source, int value, int value2, Test test)
          Creates a new instance of MContextCardCardIntIntTest
MContextCardCardIntIntTest(Targetable dest, MCard source, int value, int value2, Test test, int maxTimeStamp1, int maxTimeStamp2)
          Creates a new instance of MContextCardCardIntIntTest
 
Method Summary
 Test getTest()
          Returns The test that was saved.
 
Methods inherited from class net.sf.magicproject.event.context.MContextCardCardIntInt
checkTimeStamp, equals, getCard2, getOriginalCard2, getValue, getValue2, hashCode, isNull2, removeTimestamp, toString
 
Methods inherited from class net.sf.magicproject.event.context.MContextMtargetable
getCard, getEventSource, getOriginalCard, getOriginalTargetable, getPlayer, getTargetable, getZoneContext
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

test

public Test test
The integer that was saved.

Constructor Detail

MContextCardCardIntIntTest

public MContextCardCardIntIntTest(Targetable dest,
                                  MCard source,
                                  int value,
                                  int value2,
                                  Test test)
Creates a new instance of MContextCardCardIntIntTest

Parameters:
dest - the MTargetable object to save to this context.
source - the Mcard object to save to this context.
value - the integer to save to this context.
value2 - the integer to save to this context.
test - the attached test of this context.

MContextCardCardIntIntTest

public MContextCardCardIntIntTest(Targetable dest,
                                  MCard source,
                                  int value,
                                  int value2,
                                  Test test,
                                  int maxTimeStamp1,
                                  int maxTimeStamp2)
Creates a new instance of MContextCardCardIntIntTest

Parameters:
dest - the MTargetable object to save to this context.
source - the Mcard object to save to this context.
value - the integer to save to this context.
value2 - the integer to save to this context.
test - the test to save to this context.
maxTimeStamp1 - is the maximum timestamp allowed for destination card during the resolution.
maxTimeStamp2 - is the maximum timestamp allowed for source card during the resolution.
Method Detail

getTest

public final Test getTest()
Returns The test that was saved.

Returns:
The test that was saved.


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