net.sf.magicproject.token
Interface IdTokens


public interface IdTokens

Author:
Fabrice Daugan

Field Summary
static int ABILITY_REGISTER_SIZE
          Size of delayed's registers
static int CARD
          Target is a card
static int CARD_REGISTER_SIZE
          Size of card's registers
static int DEALTABLE
          Target is a player or a card
static int DELAYED_REGISTERS
          Access to the saved card.
static int FIRST_FREE_CARD_INDEX
          First index of card where any modification does not generate any event
static int ID
          Access to identifiant of player
static int LIFE
          Index of player life information
static int MANA_ABILITY
          Value for playable idCard for MeventCanICast.
static int MANA_POOL
          Special access to the whole mana pool player and manacost of card.
static int MSG_ANSWER_INDEX
          The register index of stack registers where the answer of the last message box.
static int MYSELF
          access to the card containing the current spell/ability
static int PLAYER
          Target is a player
static int PLAYER_REGISTER_SIZE
          Size of player registers
static int POISON
          Index of player poison information
static int POWER
          Index of card power information
static int PRIVATE_NAMED_TARGETABLE
          Target is saved object
static java.lang.String[] REGISTER_INDEX_NAMES
          Comment for registerIndexName
static int[] REGISTER_INDEX_VALUES
          Comment for registerIndexValue
static int REQUIRED_MANA
          Access the required mana of current spell.
static int STACK
          Access to stack registers
static int STACK_REGISTER_SIZE
          Stack register size
static int STATIC_REGISTER
          Special access to the static values.
static int TARGET
          Correspond to the cards/players targetted.
static int TOUGHNESS
          Index of card toughness information
static int TURN_ID
          Special access to the static value correponding to the turn number.
 

Field Detail

STACK_REGISTER_SIZE

static final int STACK_REGISTER_SIZE
Stack register size

See Also:
Constant Field Values

CARD_REGISTER_SIZE

static final int CARD_REGISTER_SIZE
Size of card's registers

See Also:
Constant Field Values

ABILITY_REGISTER_SIZE

static final int ABILITY_REGISTER_SIZE
Size of delayed's registers

See Also:
Constant Field Values

PLAYER_REGISTER_SIZE

static final int PLAYER_REGISTER_SIZE
Size of player registers

See Also:
Constant Field Values

CARD

static final int CARD
Target is a card

See Also:
Constant Field Values

PLAYER

static final int PLAYER
Target is a player

See Also:
Constant Field Values

TARGET

static final int TARGET
Correspond to the cards/players targetted. They are present in the target list.

See Also:
Constant Field Values

STACK

static final int STACK
Access to stack registers

See Also:
Constant Field Values

TURN_ID

static final int TURN_ID
Special access to the static value correponding to the turn number. The first turn should be 0.

See Also:
Constant Field Values

DELAYED_REGISTERS

static final int DELAYED_REGISTERS
Access to the saved card.

See Also:
Constant Field Values

STATIC_REGISTER

static final int STATIC_REGISTER
Special access to the static values. Actions may access or modify a list of registers. These registers do not interact with the play, and are not modified by the MP engine. It's to the responsability of abilities to manage entirely these registers. There are 256 available registers.

See Also:
Constant Field Values

PRIVATE_NAMED_TARGETABLE

static final int PRIVATE_NAMED_TARGETABLE
Target is saved object

See Also:
Constant Field Values

MYSELF

static final int MYSELF
access to the card containing the current spell/ability

See Also:
Constant Field Values

DEALTABLE

static final int DEALTABLE
Target is a player or a card

See Also:
Constant Field Values

MSG_ANSWER_INDEX

static final int MSG_ANSWER_INDEX
The register index of stack registers where the answer of the last message box. The answer values can be IdAnswer#YES or IdAnswer#NO

See Also:
IdAnswer.yes, IdAnswer.no, Constant Field Values

MANA_POOL

static final int MANA_POOL
Special access to the whole mana pool player and manacost of card.

See Also:
Constant Field Values

REQUIRED_MANA

static final int REQUIRED_MANA
Access the required mana of current spell.

See Also:
Constant Field Values

ID

static final int ID
Access to identifiant of player

See Also:
Constant Field Values

POWER

static final int POWER
Index of card power information

See Also:
Constant Field Values

TOUGHNESS

static final int TOUGHNESS
Index of card toughness information

See Also:
Constant Field Values

FIRST_FREE_CARD_INDEX

static final int FIRST_FREE_CARD_INDEX
First index of card where any modification does not generate any event

See Also:
Constant Field Values

POISON

static final int POISON
Index of player poison information

See Also:
Constant Field Values

LIFE

static final int LIFE
Index of player life information

See Also:
Constant Field Values

MANA_ABILITY

static final int MANA_ABILITY
Value for playable idCard for MeventCanICast.

See Also:
Constant Field Values

REGISTER_INDEX_NAMES

static final java.lang.String[] REGISTER_INDEX_NAMES
Comment for registerIndexName


REGISTER_INDEX_VALUES

static final int[] REGISTER_INDEX_VALUES
Comment for registerIndexValue



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