net.sf.magicproject.action.context
Class MoveContext

java.lang.Object
  extended by net.sf.magicproject.action.context.MoveContext
All Implemented Interfaces:
ActionContext

public class MoveContext
extends java.lang.Object
implements ActionContext

Since:
0.86
Author:
Fabrice Daugan

Field Summary
 MCard[] attachedTo
          The previous attachedTo.
 Player[] controllers
          The previous controller.
 int[] idZones
          The previous zone.
 Pair<java.lang.Integer,java.lang.Integer>[] indexes
          The indexes within the zone.
 boolean[] tapPosition
          The previous 'tap' position.
 
Constructor Summary
MoveContext(int size)
          Create a new context with a new boolean array
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

controllers

public final Player[] controllers
The previous controller.


attachedTo

public final MCard[] attachedTo
The previous attachedTo.


idZones

public final int[] idZones
The previous zone.


tapPosition

public final boolean[] tapPosition
The previous 'tap' position.


indexes

public Pair<java.lang.Integer,java.lang.Integer>[] indexes
The indexes within the zone.

Constructor Detail

MoveContext

public MoveContext(int size)
Create a new context with a new boolean array

Parameters:
size - the array's size of this context.


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