net.sf.magicproject.zone
Class ZoneSector

java.lang.Object
  extended by net.sf.magicproject.zone.ZoneSector

public class ZoneSector
extends java.lang.Object

Since:
0.93
Author:
Fabrice Daugan

Method Summary
 void add(MCard card)
          Add a card to the end of list.
 java.util.List<AbstractCard> getCards()
          Return the cards in this sector.
 java.lang.Object getConstraint()
          The container constraint of this sector.
 Test getTest()
          The sector test.
 boolean remove(AbstractCard card)
          Remove the card from the list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConstraint

public java.lang.Object getConstraint()
The container constraint of this sector.

Returns:
The container constraint of this sector.

getTest

public Test getTest()
The sector test.

Returns:
The sector test.

getCards

public java.util.List<AbstractCard> getCards()
Return the cards in this sector.

Returns:
the cards in this sector.

add

public void add(MCard card)
Add a card to the end of list.

Parameters:
card - the card to add.

remove

public boolean remove(AbstractCard card)
Remove the card from the list.

Parameters:
card - the card to remove.
Returns:
true if this list contained the specified element


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