Uses of Class
net.sf.magicproject.clickable.targetable.player.Player

Packages that use Player
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.mana Mana represents colored (so visible) entities can be clickable by players. 
net.sf.magicproject.clickable.targetable.card All card components. 
net.sf.magicproject.clickable.targetable.player All player components. 
net.sf.magicproject.deckbuilder any classes manipulating decks and also components used by the deckbuilder form. 
net.sf.magicproject.event Available events. 
net.sf.magicproject.event.context Context attached to a triggered event. 
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.ui.component I18N utilities. 
net.sf.magicproject.ui.wizard Wizard components. 
 

Uses of Player in net.sf.magicproject.action
 

Methods in net.sf.magicproject.action with parameters of type Player
static boolean MoveCard.moveCard(MCard movingCard, Player controller, int destination, ContextEventListener context, int idPosition, Ability ability, boolean silentMode)
           
 

Uses of Player in net.sf.magicproject.action.context
 

Fields in net.sf.magicproject.action.context declared as Player
 Player[] MovePlayerCardContext.controllers
          The previous controller.
 Player[] MoveContext.controllers
          The previous controller.
 

Uses of Player in net.sf.magicproject.action.listener
 

Methods in net.sf.magicproject.action.listener with parameters of type Player
 boolean WaitingPlayer.clickOn(Player player)
          Called to specify the player chosen for the current action by the handed player
 boolean WaitingPlayer.succeedClickOn(Player player)
          This function should be called by the 'clickOn' caller in case of the specified player has been handled during the checking validity of this click in the clickOn(Player) function.
 

Uses of Player in net.sf.magicproject.action.target
 

Methods in net.sf.magicproject.action.target with parameters of type Player
 boolean ChoosenTarget.clickOn(Player target)
           
 boolean ChoosenTarget.isValidTarget(Player target)
          Is the specified player is a valid target?
 boolean ChoosenTarget.succeedClickOn(Player player)
           
 

Uses of Player in net.sf.magicproject.clickable.ability
 

Methods in net.sf.magicproject.clickable.ability that return Player
 Player ActivatedAbilityPlayer.getController()
           
 Player Ability.getController()
          Return the controller of this ability
 

Uses of Player in net.sf.magicproject.clickable.mana
 

Methods in net.sf.magicproject.clickable.mana that return Player
 Player Mana.getPlayer()
          return the player owning this mana
 

Uses of Player in net.sf.magicproject.clickable.targetable.card
 

Fields in net.sf.magicproject.clickable.targetable.card declared as Player
 Player AbstractCard.controller
          Player controller
 Player MCard.originalController
          The original player.
 

Methods in net.sf.magicproject.clickable.targetable.card that return Player
 Player SystemCard.getController()
           
 Player AbstractCard.getController()
          Return the controller of this card
 Player MCard.getOwner()
          Return card's owner.
 

Methods in net.sf.magicproject.clickable.targetable.card with parameters of type Player
 void TriggeredCard.moveCard(int newIdPlace, Player newController, boolean newIsTapped, int idPosition)
           
 void MCard.moveCard(int destinationZone, Player newController, boolean newIsTapped, int idPosition)
           
 void LastKnownCard.moveCard(int newIdPlace, Player newController, boolean newIsTapped, int idPosition)
           
 void AbstractCard.moveCard(int newIdPlace, Player newController, boolean newIsTapped, int idPosition)
          Move this card to a new place tapped or not under the control of a player
 void MCard.setOwner(Player owner)
          Set the new owner of this card.
 

Constructors in net.sf.magicproject.clickable.targetable.card with parameters of type Player
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(java.lang.String cardName, java.io.InputStream inputFile, Player controller, Player owner, java.util.Map<java.lang.String,java.lang.String> constraints)
          Create a new instance of Card reading from a file.
 

Uses of Player in net.sf.magicproject.clickable.targetable.player
 

Subclasses of Player in net.sf.magicproject.clickable.targetable.player
 class Opponent
           
 class You
           
 

Methods in net.sf.magicproject.clickable.targetable.player that return Player
 Player Player.getOpponent()
          Return the opponent player
 

Constructors in net.sf.magicproject.clickable.targetable.player with parameters of type Player
PlayerCard(Player player)
          Creates a new instance of PlayerCard
 

Uses of Player in net.sf.magicproject.deckbuilder
 

Methods in net.sf.magicproject.deckbuilder with parameters of type Player
static void DeckReader.fillZone(Deck deck, java.io.FileInputStream dbFile, MZone zone, Player owner)
          Fill player's zone with the cards found in InputFile
 

Uses of Player in net.sf.magicproject.event
 

Methods in net.sf.magicproject.event with parameters of type Player
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 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 LoseGame.dispatchEvent(Player player)
          Dispatch this event to all active event listeners able to understand this event.
static void UncaughtException.dispatchEvent(Player concernedPlayer, java.lang.String exceptionName)
          Dispatch this event to all active event listeners able to understand this event.
 boolean LoseGame.isMatching(Ability ability, Player player)
          Tell if the current event matches with this event.
 boolean UncaughtException.isMatching(Ability ability, Player concernedPlayer, java.lang.String exceptionName)
          Tell if the current event matches with this event.
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 GivenMana.tryAction(MCard source, Player player, int color, int amount, Test restriction)
          Dispatch this event to replacement abilites only.
 

Uses of Player in net.sf.magicproject.event.context
 

Methods in net.sf.magicproject.event.context that return Player
 Player MContextMtargetable.getPlayer()
          Return the MTargetable object cast into MPlayer instance.
 

Uses of Player in net.sf.magicproject.modifier
 

Methods in net.sf.magicproject.modifier that return Player
 Player ControllerModifier.getPlayer(Player oldPlayer)
          Return the modified controller
 

Methods in net.sf.magicproject.modifier with parameters of type Player
 Player ControllerModifier.getPlayer(Player oldPlayer)
          Return the modified controller
 

Uses of Player in net.sf.magicproject.stack
 

Fields in net.sf.magicproject.stack declared as Player
static Player[] StackManager.PLAYERS
          players of the play
static Player StackManager.spellController
          the player controlling the current spell
 

Methods in net.sf.magicproject.stack that return Player
static Player StackManager.activePlayer()
          return the active player
static Player StackManager.currentPlayer()
          return the current player
static Player StackManager.getSpellController()
          Return the player controlling the current spell
static Player StackManager.nonActivePlayer()
          return the non-active player
 

Methods in net.sf.magicproject.stack with parameters of type Player
 boolean ActionManager.clickOn(Player player)
          Called to specify the player choice for the current action
static boolean StackManager.isYou(Player player)
          Indicates if the specified player is you
 void ActionManager.succeedClickOn(Player player)
          This function should be called by the 'clickOn' caller in case of the specified player has been handled during the checking validity of this click in the clickOn(Player) function.
 

Uses of Player in net.sf.magicproject.test
 

Methods in net.sf.magicproject.test that return Player
 Player Test.getOptimizedController(Ability ability, ContextEventListener context)
          Return the controller making true this test.
 Player And.getOptimizedController(Ability ability, ContextEventListener context)
           
 Player TestOn.getPlayer(Ability ability, ContextEventListener context, Targetable tested)
          Return the targetable on which the test would be applied
 Player TestOn.getPlayer(Ability ability, Targetable tested)
          Return the targetable on which the test would be applied
 

Uses of Player in net.sf.magicproject.token
 

Methods in net.sf.magicproject.token with parameters of type Player
 Visibility Visibility.decreaseFor(Player player)
          Return the decreased visibility for this player
 Visibility Visibility.decreaseFor(Player controller, VisibilityChange visibilityChange)
          Return the increased visibility for this player
 Visibility Visibility.increaseFor(Player player)
          Return the increased visibility for this player
 Visibility Visibility.increaseFor(Player controller, VisibilityChange visibilityChange)
          Return the increased visibility for this player
 boolean Visibility.isVisibleFor(Player player)
          Is the card is visible for the specified player.
 

Uses of Player in net.sf.magicproject.ui.component
 

Methods in net.sf.magicproject.ui.component with parameters of type Player
 void TableTop.fillAdditionalZones(Player player, java.util.Collection<ExpandableZone> additionalZones)
          Add the specified additional zones arround the stack & TBZ zones.
 

Uses of Player in net.sf.magicproject.ui.wizard
 

Fields in net.sf.magicproject.ui.wizard declared as Player
 Player Arrange.owner
          The player arranging the cards
 

Constructors in net.sf.magicproject.ui.wizard with parameters of type Player
Arrange(int destinationZone, java.util.List<MCard> movingCards, int[] order, Player owner)
          Creates a new instance of Replacement
 



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