|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MCard | |
---|---|
net.sf.magicproject.action | Provides actions. |
net.sf.magicproject.action.context | Provides context classes of an action. |
net.sf.magicproject.action.listener | Provides interfaces describing the king of listener an action is. |
net.sf.magicproject.action.target | Provides action manipulating list of targetable adding only ONE target. |
net.sf.magicproject.clickable.ability | Abilities. |
net.sf.magicproject.clickable.action | Clickable actions are visible actions the players can see their progress such as what's done and what's remain to do. |
net.sf.magicproject.clickable.targetable | Provides all targetable objects : player, card, card... |
net.sf.magicproject.clickable.targetable.card | All card components. |
net.sf.magicproject.clickable.targetable.player | All player components. |
net.sf.magicproject.database | Database components : manage data download, cache, picture and card name translations. |
net.sf.magicproject.event | Available events. |
net.sf.magicproject.event.context | Context attached to a triggered event. |
net.sf.magicproject.event.phase | The phase events : before, beginning, ending events. |
net.sf.magicproject.expression | Provides expressions. |
net.sf.magicproject.modifier | Provides modifiers. |
net.sf.magicproject.stack | All classes manipulating stack and controlling the abilities/actions flow. |
net.sf.magicproject.test | Provides all tests. |
net.sf.magicproject.token | Unclassed constants. |
net.sf.magicproject.tools | Some utility classes. |
net.sf.magicproject.ui | UI classes. |
net.sf.magicproject.ui.component | I18N utilities. |
net.sf.magicproject.ui.component.task | Clickable UI tasks. |
net.sf.magicproject.ui.wizard | Wizard components. |
net.sf.magicproject.zone | Contains all zones. |
Uses of MCard in net.sf.magicproject.action |
---|
Methods in net.sf.magicproject.action with parameters of type MCard | |
---|---|
java.util.List<Ability> |
WaitChoosenActionChoice.abilitiesOf(MCard card)
|
java.util.List<Ability> |
WaitActivatedChoice.abilitiesOf(MCard card)
|
java.util.List<Ability> |
PayMana.abilitiesOf(MCard card)
|
java.util.List<Ability> |
WaitChoosenActionChoice.advancedAbilitiesOf(MCard card)
|
java.util.List<Ability> |
WaitActivatedChoice.advancedAbilitiesOf(MCard card)
|
java.util.List<Ability> |
PayMana.advancedAbilitiesOf(MCard card)
|
boolean |
WaitActivatedChoice.clickOn(MCard card)
|
static boolean |
ModifyTargetableRegister.modifyRegister(MCard source,
Targetable targetable,
int index,
int value,
Operation op)
Generate event associated to this action. |
static boolean |
MoveCard.moveCard(MCard movingCard,
Player controller,
int destination,
ContextEventListener context,
int idPosition,
Ability ability,
boolean silentMode)
|
static boolean |
MoveCard.moveCard(MCard card,
TestOn controller,
int destination,
ContextEventListener context,
int idPosition,
Ability ability,
boolean silentMode)
Move a card in a zone with a specified new controller. |
boolean |
WaitActivatedChoice.succeedClickOn(MCard card)
|
Uses of MCard in net.sf.magicproject.action.context |
---|
Fields in net.sf.magicproject.action.context declared as MCard | |
---|---|
MCard[] |
MoveContext.attachedTo
The previous attachedTo. |
MCard[] |
MovePlayerCardContext.cards
The previous controller. |
Uses of MCard in net.sf.magicproject.action.listener |
---|
Methods in net.sf.magicproject.action.listener with parameters of type MCard | |
---|---|
java.util.List<Ability> |
WaitingAbility.abilitiesOf(MCard card)
Return activated abilities of the specified card. |
java.util.List<Ability> |
WaitingAbility.advancedAbilitiesOf(MCard card)
Return activated advanced abilities of the specified card. |
boolean |
WaitingCard.clickOn(MCard card)
Called to specify the card chosen for the current action by the handed player |
boolean |
WaitingCard.succeedClickOn(MCard card)
This function should be called by the 'clickOn' caller in case of the specified card has been handled during the checking validity of this click in the clickOn(MCard) function. |
Uses of MCard in net.sf.magicproject.action.target |
---|
Methods in net.sf.magicproject.action.target with parameters of type MCard | |
---|---|
boolean |
ChoosenTarget.clickOn(MCard target)
|
boolean |
ChoosenTarget.isValidTarget(MCard target)
Is the specified card is a valid target? |
boolean |
ChoosenTarget.succeedClickOn(MCard card)
|
Uses of MCard in net.sf.magicproject.clickable.ability |
---|
Methods in net.sf.magicproject.clickable.ability that return MCard | |
---|---|
MCard |
DetachmentAbility.getAttachedCard()
Returns the attached card. |
MCard |
UserAbility.getCard()
|
MCard |
TriggeredStaticModifierAbility.getCard()
|
MCard |
SystemAbility.getCard()
|
MCard |
RemoveModifier.getCard()
|
MCard |
RefreshAbility.getCard()
|
MCard |
DetachmentAbility.getCard()
|
MCard |
AbstractAbility.getCard()
|
abstract MCard |
Ability.getCard()
Return card where is this ability. |
Methods in net.sf.magicproject.clickable.ability with parameters of type MCard | |
---|---|
abstract Ability |
UserAbility.clone(MCard container)
|
Ability |
TriggeredAbilitySet.clone(MCard container)
|
Ability |
TriggeredAbility.clone(MCard container)
|
Ability |
ReplacementAbility.clone(MCard container)
|
Ability |
DetachmentAbility.clone(MCard container)
|
Ability |
ActivatedAbilityPlayer.clone(MCard container)
|
Ability |
ActivatedAbility.clone(MCard container)
|
Ability |
Ability.clone(MCard container)
return a copy of this ability TODO remove param container since it is not used in this constructor As default, return null |
static Ability |
AbilityFactory.readAbility(java.io.InputStream inputFile,
MCard card)
Read and return the next ability from specified inputFile Structure of InputStream : Data[size] ability type [1] name name [String] ability tags [1] event [Event] cost [Action[]] effect [Action[]] |
Constructors in net.sf.magicproject.clickable.ability with parameters of type MCard | |
---|---|
ActivatedAbility(java.io.InputStream inputFile,
MCard card)
Creates a new instance of ActivatedAbility Structure of InputStream : Data[size] |
|
ActivatedAbilityPlayer(java.io.InputStream inputFile,
MCard card)
Creates a new instance of ActivatedAbility Structure of InputStream : Data[size] ability type [1] name name [String] ability tags [1] event [...] |
|
DetachmentAbility(MEventListener event,
MCard from,
MCard to,
Test attachmentTest)
Creates a new instance of DetachmentAbility |
|
RefreshAbility(TriggeredEvent event,
RefreshModifier refreshAction,
MCard trigger)
Creates a new instance of RefreshAbility |
|
ReplacementAbility(java.io.InputStream inputFile,
MCard card)
Creates a new instance of ReplacementAbility Structure of InputStream : Data[size] name name + '\0' [...] |
|
TriggeredAbilitySet(java.io.InputStream inputFile,
MCard card)
Create a new instance of this class. |
|
TriggeredStaticModifierAbility(TriggeredEvent event,
AddModifierFromStaticModifier refreshAction,
MCard trigger,
ModifierModel... modifiers)
Creates a new instance of TriggeredStaticModifierAbility |
|
UserAbility(java.io.InputStream inputFile,
MCard card)
Create an instance of UserAbility Structure of InputStream : Data[size] event [Event] cost [Action[]] effect [Action[]] |
Uses of MCard in net.sf.magicproject.clickable.action |
---|
Methods in net.sf.magicproject.clickable.action with parameters of type MCard | |
---|---|
void |
ChoosenCostPanel.initUI(MCard card,
ActionContextWrapper... contextes)
Initialize UI Remove all existing JChoosenAction componnents Set the card's picture withe the appropriate tooltip Fill the panel with the JChoosenAction components associated to the given contextes
Bring to front this panel
|
boolean |
ChoosenCostPanel.reset(MCard card,
ActionContextWrapper[] contextes)
Reset the UI and execute the first ChoosenAction. |
Uses of MCard in net.sf.magicproject.clickable.targetable |
---|
Fields in net.sf.magicproject.clickable.targetable declared as MCard | |
---|---|
static MCard |
TargetableFactory.triggerTargetable
The last Card where popup trigger has been recorded. |
Methods in net.sf.magicproject.clickable.targetable that return MCard | |
---|---|
MCard |
Targetable.getCreator()
Return the creator of this targetable component. |
Methods in net.sf.magicproject.clickable.targetable with parameters of type MCard | |
---|---|
void |
Targetable.setCreator(MCard creator)
Set the creator of this targetable component. |
Uses of MCard in net.sf.magicproject.clickable.targetable.card |
---|
Subclasses of MCard in net.sf.magicproject.clickable.targetable.card | |
---|---|
class |
CardCopy
|
class |
LastKnownCard
|
class |
SystemCard
MSystemCard.java Created on 5 mars 2004 |
Fields in net.sf.magicproject.clickable.targetable.card declared as MCard | |
---|---|
MCard |
VirtualCard.card
The real card |
MCard |
Damage.cardSource
card dealting this damages |
Methods in net.sf.magicproject.clickable.targetable.card that return MCard | |
---|---|
MCard |
DelayedCard.getCard()
|
static MCard |
MCard.getCard(java.io.InputStream input)
Return the component from information read throw net.sf.magicproject.network |
MCard |
TriggeredCard.getSourceCard()
Return the card source of the current capcity/spell in the stack |
Methods in net.sf.magicproject.clickable.targetable.card that return types with arguments of type MCard | |
---|---|
java.util.Collection<MCard> |
MCard.getAttachedCards()
Return the attached cards. |
Methods in net.sf.magicproject.clickable.targetable.card with parameters of type MCard | |
---|---|
void |
Attachment.attach(ContextEventListener context,
Ability ability,
MCard from,
MCard to)
|
boolean |
MCard.hasPropertyNotFromCreator(int idType,
MCard creator)
indicates if this card has this idType. |
Constructors in net.sf.magicproject.clickable.targetable.card with parameters of type MCard | |
---|---|
CardCopy(java.lang.String pictureName,
MCard card)
|
|
Damage(MCard cardSource,
int damageNumber,
int damageType)
creates a new instance of MDamage |
|
LastKnownCard(MCard originalCard,
int destinationZone,
int idColor,
int idCard,
boolean tapped,
int[] registers,
Player controller,
Player owner,
java.util.Set<java.lang.Integer> properties,
int timestamp,
int timestampReferences)
|
|
MCard(MCard cardRef,
DatabaseCard database)
Create a new instance of Card exactly like cardRef instance. |
|
MCard(java.lang.String pictureName,
MCard cardRef)
Create a new instance of tokenized Card. |
|
VirtualCard(MCard card)
Creates a new instance of VirtualCard |
Uses of MCard in net.sf.magicproject.clickable.targetable.player |
---|
Subclasses of MCard in net.sf.magicproject.clickable.targetable.player | |
---|---|
class |
PlayerCard
|
Uses of MCard in net.sf.magicproject.database |
---|
Methods in net.sf.magicproject.database with parameters of type MCard | |
---|---|
void |
DatabaseCard.updatePaintNotification(MCard card,
java.awt.Graphics g)
This method update and paint on the given card, the progressbar of task of the image attached to this model. |
Uses of MCard in net.sf.magicproject.event |
---|
Fields in net.sf.magicproject.event declared as MCard | |
---|---|
MCard |
MEventListener.card
card owning this event |
Methods in net.sf.magicproject.event with parameters of type MCard | |
---|---|
MEventListener |
UpdateToughness.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
UpdatedLife.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
UncaughtException.clone(MCard card)
Return a copy of this with the specified owner |
abstract MEventListener |
TriggeredEvent.clone(MCard card)
|
MEventListener |
Targeted.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
MovedCard.clone(MCard card)
|
MEventListener |
ModifiedRegisterRange.clone(MCard card)
|
MEventListener |
ModifiedRegister.clone(MCard card)
|
MEventListener |
ModifiedPropertyIntersection.clone(MCard card)
|
MEventListener |
ModifiedProperty.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
ModifiedOwner.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
ModifiedIdColor.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
ModifiedIdCard.clone(MCard card)
|
MEventListener |
ModifiedController.clone(MCard card)
Return a copy of this with the specified owner |
abstract MEventListener |
MEventListener.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
LoseGame.clone(MCard card)
|
MEventListener |
LethalDamaged.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
GivenMana.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
FacedUp.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
FacedDown.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
Detached.clone(MCard card)
|
MEventListener |
DeclaredBlocking.clone(MCard card)
|
MEventListener |
DeclaredAttacking.clone(MCard card)
|
MEventListener |
Casting.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
CanICast.clone(MCard card)
|
MEventListener |
BecomeUnTapped.clone(MCard card)
|
MEventListener |
BecomeTapped.clone(MCard card)
|
MEventListener |
AttachedEvent.clone(MCard card)
|
MEventListener |
AssignedDamage.clone(MCard card)
|
MEventListener |
ArrangedZone.clone(MCard card)
|
static void |
UpdateToughness.dispatchEvent(MCard toUpdate)
Dispatch this event to all active event listeners able to understand this event. |
static void |
ModifiedController.dispatchEvent(MCard movedCard)
Dispatch this event to all active event listeners able to understand this event. |
static void |
LethalDamaged.dispatchEvent(MCard damaged)
Dispatch this event to all active event listeners able to understand this event. |
static void |
FacedUp.dispatchEvent(MCard facedUpCard)
Dispatch this event to all active event listeners able to understand this event. |
static void |
FacedDown.dispatchEvent(MCard facedDownCard)
Dispatch this event to all active event listeners able to understand this event. |
static void |
DeclaredAttacking.dispatchEvent(MCard declaredCreature)
Dispatch this event to all active event listeners able to understand this event. |
static void |
Casting.dispatchEvent(MCard castCard)
Dispatch this event to all active event listeners able to understand this event. |
static void |
BecomeUnTapped.dispatchEvent(MCard tappedCard)
Dispatch this event to all active event listeners able to understand this event. |
static void |
BecomeTapped.dispatchEvent(MCard tappedCard)
Dispatch this event to all active event listeners able to understand this event. |
static void |
ModifiedIdColor.dispatchEvent(MCard modifiedCard,
int color)
Dispatch this event to all active event listeners able to understand this event. |
static void |
MovedCard.dispatchEvent(MCard movingCard,
int idPlaceDest,
Player newController,
boolean silentMode)
Dispatch this event to all active event listeners able to understand this event. |
static void |
Detached.dispatchEvent(MCard detached,
MCard from)
Dispatch this event to all active event listeners able to understand this event. |
static void |
DeclaredBlocking.dispatchEvent(MCard blockingCreature,
MCard blockedCreature)
Dispatch this event to all active event listeners able to understand this event. |
static void |
AttachedEvent.dispatchEvent(MCard attached,
MCard by)
Dispatch this event to all active event listeners able to understand this event. |
static void |
GivenMana.dispatchEvent(MCard source,
Player player,
int color,
int amount,
Test restriction)
Dispatch this event to all active event listeners able to understand this event. |
static void |
Targeted.dispatchEvent(MCard source,
Targetable target)
Dispatch this event to all active event listeners able to understand this event. |
static void |
AssignedDamage.dispatchEvent(MCard source,
Targetable target,
int damageNumber,
int damageType)
Dispatch this event to all active event listeners able to understand this event. |
static void |
ModifiedRegister.dispatchEvent(Targetable modified,
MCard pSource,
int register,
int index,
Operation op,
int rightValue)
Dispatch this event to all active event listeners able to understand this event. |
boolean |
UpdateToughness.isMatching(Ability ability,
MCard toUpdate)
Tell if the current event matches with this event. |
boolean |
MovedCard.isMatching(Ability ability,
MCard movingCard)
Tell if the current event matches with this event. |
boolean |
ModifiedController.isMatching(Ability ability,
MCard movedCard)
Tell if the current event matches with this event. |
boolean |
LethalDamaged.isMatching(Ability ability,
MCard damaged)
Tell if the current event matches with this event. |
boolean |
FacedUp.isMatching(Ability ability,
MCard facedUpCard)
Tell if the current event matches with this event. |
boolean |
FacedDown.isMatching(Ability ability,
MCard facedDownCard)
Tell if the current event matches with this event. |
boolean |
DeclaredAttacking.isMatching(Ability ability,
MCard declaredCreature)
Tell if the current event matches with this event. |
boolean |
Casting.isMatching(Ability ability,
MCard castCard)
Tell if the current event matches with this event. |
boolean |
BecomeUnTapped.isMatching(Ability ability,
MCard tappedCard)
Tell if the current event matches with this event. |
boolean |
BecomeTapped.isMatching(Ability ability,
MCard tappedCard)
Tell if the current event matches with this event. |
boolean |
ModifiedIdColor.isMatching(Ability ability,
MCard modifiedCard,
int idColor)
Tell if the current event matches with this event. |
boolean |
ArrangedZone.isMatching(Ability ability,
MCard source,
int arrangedZone)
Tell if the current event matches with this event. |
boolean |
Detached.isMatching(Ability ability,
MCard detached,
MCard from)
Tell if the current event matches with this event. |
boolean |
DeclaredBlocking.isMatching(Ability ability,
MCard blockingCreature,
MCard blockedCreature)
Tell if the current event matches with this event. |
boolean |
AttachedEvent.isMatching(Ability ability,
MCard attached,
MCard by)
Tell if the current event matches with this event. |
boolean |
Targeted.isMatching(Ability ability,
MCard source,
Targetable target)
Tell if the current event matches with this event. |
boolean |
ModifiedRegisterRange.isMatching(Ability ability,
Targetable modified,
MCard source,
Operation op,
int register,
int index)
|
boolean |
AssignedDamage.isMatching(MCard source,
Targetable destination,
int damageNumber,
int damageType,
Ability ability)
Tell if the current event matches with this event. |
static MEventListener |
EventFactory.readNextEvent(java.io.InputStream inputFile,
MCard card)
return the next EventListener read from the current offset Structure of InputStream : Data[size] idEvent [1] idZone [1] test [...] |
static boolean |
LethalDamaged.tryAction(MCard damaged)
/** Dispatch this event to replacement abilites only. |
static boolean |
DeclaredAttacking.tryAction(MCard declaredCreature)
Dispatch this event to replacement abilites only. |
static boolean |
MovedCard.tryAction(MCard movingCard,
int idPlaceDest,
Player newController,
boolean silentMode)
Dispatch this event to all active event listeners able to understand this event. |
static boolean |
DeclaredBlocking.tryAction(MCard blockingCreature,
MCard blockedCreature)
Dispatch this event to replacement abilites only. |
static boolean |
GivenMana.tryAction(MCard source,
Player player,
int color,
int amount,
Test restriction)
Dispatch this event to replacement abilites only. |
static boolean |
AssignedDamage.tryAction(MCard source,
Targetable target,
int damageNumber,
int damageType)
Dispatch this event to replacement abilites only. |
static boolean |
ModifiedRegister.tryAction(Targetable modified,
MCard pSource,
int register,
int index,
Operation op,
int rightValue)
/** Dispatch this event to replacement abilites only. |
Constructors in net.sf.magicproject.event with parameters of type MCard | |
---|---|
ArrangedZone(int idZone,
Test test,
MCard card,
int arrangedZone)
Creates a new instance of CanICast specifying all attributes of this class. |
|
AssignedDamage(java.io.InputStream inputFile,
MCard card)
Create an instance of MEventDamaged by reading a file Offset's file must pointing on the first byte of this event Structure of InputStream : Data[size] [super] damage type[Expression] test source[Test] test destination[Test] |
|
BecomeTapped(int idZone,
Test test,
MCard card)
Creates a new instance of MEventBecomeTapped specifying all attributes of this class. |
|
BecomeUnTapped(int idZone,
Test test,
MCard card)
Creates a new instance of MEventBecomeUnTapped specifying all attributes of this class. |
|
CanICast(java.io.InputStream inputFile,
MCard card)
Create an instance of CanICast by reading a file Offset's file must pointing on the first byte of this event Structure of InputStream : Data[size] [super] idCard [Expression] |
|
DeclaredBlocking(java.io.InputStream inputFile,
MCard card)
Create an instance of DeclaredBlocking by reading a file Offset's file must pointing on the first byte of this event Structure of InputStream : Data[size] idZone [1] test to apply on blocking creature [...] |
|
FacedDown(int idZone,
Test test,
MCard card)
Creates a new instance of FacedUp specifying all attributes of this class. |
|
FacedUp(int idZone,
Test test,
MCard card)
Creates a new instance of FacedUp specifying all attributes of this class. |
|
ModifiedController(int idZone,
Test test,
MCard card)
Creates a new instance of MEventModifiedController |
|
ModifiedIdCard(int idZone,
Test test,
MCard card,
Expression idCard)
Creates a new instance of MEventModifiedIdCard |
|
ModifiedIdColor(int idZone,
Test test,
MCard card,
Expression idColor)
Creates a new instance of MEventModifiedIdColor |
|
ModifiedOwner(java.io.InputStream inputFile,
MCard card)
Creates a new instance of MEventModifiedOwner Structure of InputStream : Data[size] idZone [1] test [...] |
|
ModifiedOwner(int idZone,
Test test,
MCard card)
Creates a new instance of MEventModifiedOwner |
|
ModifiedProperty(int idZone,
Test test,
MCard card,
Expression propertyExpr)
Creates a new instance of MEventModifiedProperty |
|
ModifiedPropertyIntersection(int idZone,
Test test,
MCard card,
Expression propertyMask)
Creates a new instance of MEventModifiedProperty |
|
ModifiedRegister(int idZone,
Test sourceTest,
Test testModified,
MCard card,
Operation op,
Register register,
Expression index)
Creates a new instance of MEventModifiedRegister specifying all attributes of this class. |
|
ModifiedRegisterRange(int idZone,
Test sourceTest,
Test testModified,
MCard card,
Operation op,
Register register,
Expression inf,
Expression sup)
Creates a new instance of MEventModifiedRegisterRange specifying all attributes of this class. |
|
MovedCard(java.io.InputStream inputFile,
MCard card)
Create an instance of MEventListener by reading a file Offset's file must pointing on the first byte of this event Structure of InputStream : Data[size] idZone [1] test to apply on source [...] |
|
MovedCard(int idPlace,
Test testSource,
Test testDestination,
MCard card)
Creates a new instance of CanICast specifying all attributes of this class. |
|
TriggeredEvent(java.io.InputStream inputFile,
MCard card)
Create an instance of MEventTriggered by reading a file Offset's file must pointing on the first byte of this event Structure of InputStream : Data[size] idZone [1] test [...] |
Uses of MCard in net.sf.magicproject.event.context |
---|
Methods in net.sf.magicproject.event.context that return MCard | |
---|---|
MCard |
MContextMtargetable.getCard()
Return the MTargetable cast to MCard object of this context considering it's timstamp. |
MCard |
MContextCardCardIntInt.getCard2()
Return the MTargetable cast to MCard object of this context considering it's timstamp. |
MCard |
MContextMtargetable.getEventSource()
|
MCard |
ContextEventListener.getEventSource()
Return the card source of the event attached to this context. |
MCard |
MContextMtargetable.getOriginalCard()
Return the MTargetable cast to MCard object of this context without considering it's timstamp. |
MCard |
MContextCardCardIntInt.getOriginalCard2()
Return the MTargetable cast to MCard object of this context without considering it's timstamp. |
Methods in net.sf.magicproject.event.context with parameters of type MCard | |
---|---|
boolean |
MContextMtargetable.checkTimeStamp(MCard card)
|
boolean |
MContextCardCardIntInt.checkTimeStamp(MCard card)
|
boolean |
ContextEventListener.checkTimeStamp(MCard card)
Verify the timestamp of the specified card |
Constructors in net.sf.magicproject.event.context with parameters of type MCard | |
---|---|
MContextCardCardIntInt(Targetable dest,
MCard source)
Creates a new instance of MContextCardCardIntInt |
|
MContextCardCardIntInt(Targetable dest,
MCard source,
int value,
int value2)
Creates a new instance of MContextCardCardIntInt |
|
MContextCardCardIntInt(Targetable dest,
MCard source,
int value,
int value2,
int maxTimeStamp1,
int maxTimeStamp2)
Creates a new instance of MContextCardCardIntInt |
|
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 |
Uses of MCard in net.sf.magicproject.event.phase |
---|
Methods in net.sf.magicproject.event.phase with parameters of type MCard | |
---|---|
MEventListener |
EndOfPhase.clone(MCard card)
|
MEventListener |
BeginningPhase.clone(MCard card)
Return a copy of this with the specified owner |
MEventListener |
BeforePhase.clone(MCard card)
|
Constructors in net.sf.magicproject.event.phase with parameters of type MCard | |
---|---|
BeforePhase(java.io.InputStream inputFile,
MCard card)
Create an instance of MEventBeforePhase by reading a file Offset's file must pointing on the first byte of this event Structure of InputStream : Data[size] idZone [1] test [...] |
|
BeginningPhase(java.io.InputStream inputFile,
MCard card)
Create an instance of MEventBeginningPhase by reading a file Offset's file must pointing on the first byte of this event Structure of InputStream : Data[size] idZone [1] test [...] |
|
BeginningPhase(int idZone,
Test test,
MCard card,
Expression idPhase,
PhaseFilter phaseFilter)
Creates a new instance of MEventBeginningPhase specifying all attributes of this class. |
|
EndOfPhase(java.io.InputStream inputFile,
MCard card)
Create an instance of MEventEndOfPhase by reading a file Offset's file must pointing on the first byte of this event Structure of InputStream : Data[size] idZone [1] test [...] |
|
EndOfPhase(int idZone,
Test test,
MCard card,
Expression idPhase,
PhaseFilter phaseFilter)
Creates a new instance of MEventEndOfPhase specifying all attributes of this class. |
Uses of MCard in net.sf.magicproject.expression |
---|
Methods in net.sf.magicproject.expression with parameters of type MCard | |
---|---|
void |
UnaryExpression.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
RegisterAccess.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
Position.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
LowestAmong.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
IfThenElse.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
HighestAmong.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
Expression.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
Adds to the specified list, the events modifying the result of this test. |
void |
Counter.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
BinaryExpression.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
Uses of MCard in net.sf.magicproject.modifier |
---|
Methods in net.sf.magicproject.modifier that return MCard | |
---|---|
MCard |
Unregisterable.getCard()
Return the card creating or owning this object. |
MCard |
Modifier.getCard()
|
Methods in net.sf.magicproject.modifier with parameters of type MCard | |
---|---|
void |
StaticModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
RegisterModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
RegisterIndirectionModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
PropertyModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
PlayableZoneModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
ObjectModifierModel.addModifierFromModel(Ability ability,
MCard target)
Create modifier(s) on the specified target. |
void |
ObjectAbilityModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
abstract void |
ModifierModel.addModifierFromModel(Ability ability,
MCard target)
Create modifier(s) on the specified target. |
void |
IdCardModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
ControllerModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
ColorModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
AdditionalCostModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
AbilityModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
int |
ObjectModifierModel.getNbObject(MCard card,
Test objectTest)
Return occurences number of the given object with the given name. |
int |
ObjectAbilityModifierModel.getNbObject(MCard card,
Test objectTest)
|
static int |
ObjectFactory.getNbObject(java.lang.String objectName,
MCard onCard,
Test objectTest)
Return occurences number of the given object with the given name. |
boolean |
PropertyModifier.hasPropertyNotFromCreator(int propertyId,
boolean found,
MCard creator)
Tells if this modifier add/remove the given property ignoring these given by the specified card creator . |
void |
ObjectModifierModel.removeObject(MCard fromCard,
Test objectTest)
Remove one instance of this object from the given card. |
void |
ObjectAbilityModifierModel.removeObject(MCard fromCard,
Test objectTest)
|
void |
ModifierModel.removeObject(MCard fromCard,
Test objectTest)
Remove one instance of this object from the given card. |
static void |
ObjectFactory.removeObjectModifier(java.lang.String objectName,
MCard fromCard,
Test objectTest)
Remove if can, one instance of given object with the specified name. |
Uses of MCard in net.sf.magicproject.stack |
---|
Methods in net.sf.magicproject.stack that return MCard | |
---|---|
MCard |
ActivatedChoice.getCard()
return the card owning these activated abilities |
static MCard |
StackManager.getRealSource(MCard owner)
Return the real card of the current ability. |
MCard |
StackManager.getSourceCard()
|
MCard |
StackContext.getSourceCard()
Return the card source of the current capcity/spell in the stack |
Methods in net.sf.magicproject.stack with parameters of type MCard | |
---|---|
boolean |
TargetHelper.checkTarget(Ability ability,
MCard source,
Test test,
int type,
int choiceMode,
ContextEventListener context,
int restrictionZone,
int hopCounter,
boolean canBePreempted)
Return true when there is the required amount of valid
targets. |
boolean |
ActionManager.clickOn(MCard card)
Called to specify the player choice for the current action |
static Ability |
StackManager.getAbilityOf(MCard card)
The ability corresponding to the specified card |
static java.lang.String |
StackManager.getHtmlManaCost(MCard card)
Return HTML representation of total mana cost of the specified card. |
static java.lang.String |
StackManager.getHtmlManaPaid(MCard card)
Return HTML representation of total mana paid for the specified card. |
static int |
StackManager.getManaPaid(MCard card,
int color)
Return mana paid for the specified card and specified color. |
static MCard |
StackManager.getRealSource(MCard owner)
Return the real card of the current ability. |
static int |
StackManager.getTotalManaPaid(MCard card)
Return total mana paid for the specified card. |
static void |
StackManager.postRefreshAbilities(MCard card)
Post a request to refresh the abilities of a card. |
static void |
StackManager.postRefreshColor(MCard card)
Post a request to refresh the colors of a card. |
static void |
StackManager.postRefreshController(MCard card)
Post a request to refresh the conntroller of a card. |
static void |
StackManager.postRefreshIdCard(MCard card)
Post a request to refresh the card types of a card. |
static void |
StackManager.postRefreshProperties(MCard card,
int property)
Post a request to refresh a property of a card. |
static void |
StackManager.postRefreshRegisters(MCard card,
int index)
Post a request to refresh a register of a card. |
void |
ActionManager.succeedClickOn(MCard card)
This function should be called by the 'clickOn' caller in case of the specified card has been handled during the checking validity of this click in the clickOn(Card) function. |
Uses of MCard in net.sf.magicproject.test |
---|
Methods in net.sf.magicproject.test that return MCard | |
---|---|
MCard |
TestOn.getCard(Ability ability,
ContextEventListener context,
Targetable tested)
Return the targetable instance cast in Card instance. |
MCard |
TestOn.getCard(Ability ability,
Targetable tested)
Return the targetable instance cast in Card instance. |
Methods in net.sf.magicproject.test with parameters of type MCard | |
---|---|
void |
TestExpr.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
Test.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
Add to the specified list, the events modifying the result of this test. |
void |
ReplaceTested.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
PreviousZone.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
Not.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
IsFaceUp.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
InZone.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
HasIdCard.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
HasColor.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
Has.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
void |
BinaryTest.extractTriggeredEvents(java.util.List<MEventListener> res,
MCard source,
Test globalTest)
|
Targetable |
TestOn.getTargetable(Ability ability,
MCard card,
ContextEventListener context,
Targetable tested)
Return the targetable on which the test would be applied |
boolean |
PreviousZone.testCard(Ability ability,
MCard tested)
|
boolean |
IsTested.testCard(Ability ability,
MCard tested)
|
boolean |
IsFaceUp.testCard(Ability ability,
MCard tested)
|
boolean |
IsCopy.testCard(Ability ability,
MCard tested)
|
boolean |
IsAborting.testCard(Ability ability,
MCard tested)
|
boolean |
InZone.testCard(Ability ability,
MCard tested)
|
Uses of MCard in net.sf.magicproject.token |
---|
Methods in net.sf.magicproject.token with parameters of type MCard | |
---|---|
int |
AbstractValue.getValue(Ability ability,
MCard card,
ContextEventListener context,
Targetable tested)
Return the targetable on which the test would be applied |
Uses of MCard in net.sf.magicproject.tools |
---|
Fields in net.sf.magicproject.tools declared as MCard | |
---|---|
MCard |
PairCardInt.card
The stored card instance. |
Methods in net.sf.magicproject.tools with parameters of type MCard | |
---|---|
static java.lang.String |
MToolKit.getLogCardInfo(MCard card)
Return logging info of the given card. |
boolean |
StatePicture.paint(MCard owner,
java.awt.Graphics g,
int currentX,
int currentY)
Draw this state on the specified card using the given graphics. |
Constructors in net.sf.magicproject.tools with parameters of type MCard | |
---|---|
PairCardInt(MCard card,
int value)
Creates a new instance of PairCardInt |
Uses of MCard in net.sf.magicproject.ui |
---|
Methods in net.sf.magicproject.ui with parameters of type MCard | |
---|---|
boolean |
TooltipFilter.suits(MCard card)
Return true if this tooltip can be displayed for this specified card. |
Uses of MCard in net.sf.magicproject.ui.component |
---|
Methods in net.sf.magicproject.ui.component that return MCard | |
---|---|
MCard |
CardPropertiesPanel.getCard()
Return the last card used to display the content of this task pane. |
Methods in net.sf.magicproject.ui.component with parameters of type MCard | |
---|---|
void |
CardPropertiesPanel.revalidate(MCard card)
Revalidate this task Pane with the given card. |
Uses of MCard in net.sf.magicproject.ui.component.task |
---|
Methods in net.sf.magicproject.ui.component.task that return MCard | |
---|---|
MCard |
TaskAction.getCard()
Return the card currently used by this action. |
Methods in net.sf.magicproject.ui.component.task with parameters of type MCard | |
---|---|
void |
TaskAction.revalidate(MCard card)
Revalidate this action with the given card. |
Uses of MCard in net.sf.magicproject.ui.wizard |
---|
Methods in net.sf.magicproject.ui.wizard with parameters of type MCard | |
---|---|
void |
WizardImageIcon.setCard(MCard card)
Set the card to display in this panel. |
Constructors in net.sf.magicproject.ui.wizard with parameters of type MCard | |
---|---|
WizardImageIcon(MCard card,
java.lang.String iconName)
Create a new instance of this class. |
Constructor parameters in net.sf.magicproject.ui.wizard with type arguments of type MCard | |
---|---|
Arrange(int destinationZone,
java.util.List<MCard> movingCards,
int[] order,
Player owner)
Creates a new instance of Replacement |
Uses of MCard in net.sf.magicproject.zone |
---|
Fields in net.sf.magicproject.zone declared as MCard | |
---|---|
MCard |
MZone.dragAndDropComponent
The d&d component. |
Methods in net.sf.magicproject.zone that return MCard | |
---|---|
MCard |
MZone.getBottom()
return the first card (bottom) |
MCard |
MZone.getCard(int index)
return the card at index |
MCard |
MZone.getTop()
return the last card (top) |
Methods in net.sf.magicproject.zone with parameters of type MCard | |
---|---|
void |
ZoneSector.add(MCard card)
Add a card to the end of list. |
void |
Play.add(MCard card,
int pIndex)
|
void |
MZone.add(MCard card,
int position)
Add a card to this panel. |
void |
MZone.addBottom(MCard card)
Add a card at the bottom of this panel. |
void |
TriggeredBuffer.addTop(MCard card)
Add a card to this zone. |
void |
Side.addTop(MCard card)
Add a card at the top of this panel. |
void |
MZone.addTop(MCard card)
Add a card at the top of this panel. |
Pair<java.lang.Integer,java.lang.Integer> |
MZone.getRealIndexOf(MCard card)
Return the index of the specified card within this zone |
boolean |
MZone.isMustBePainted(MCard card)
Return true if the given card should be painted entirely. |
boolean |
ExpandableZone.isMustBePainted(MCard card)
|
boolean |
TriggeredBuffer.isMustBePaintedReversed(MCard card)
|
boolean |
Stack.isMustBePaintedReversed(MCard card)
|
boolean |
Side.isMustBePaintedReversed(MCard card)
|
boolean |
MZone.isMustBePaintedReversed(MCard card)
Return true if the given card should be painted as reversed
card. |
boolean |
ExpandableZone.isMustBePaintedReversed(MCard card)
|
boolean |
DelayedBuffer.isMustBePaintedReversed(MCard card)
|
boolean |
MZone.isSamePosition(MCard card,
int position)
Indicates wether this card suits to the specified position code. |
boolean |
MZone.startDragAndDrop(MCard card,
java.awt.Point mousePoint)
Start the drag and drop managment for the given card. |
boolean |
ExpandableZone.startDragAndDrop(MCard card,
java.awt.Point mousePoint)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |