|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectrolec.Card
rolec.NormalCard
rolec.SpecialCard
public class SpecialCard
This class represents a card that may be used as a NormalCard, but may also be used as a replacement for a specific type of NormalCard
| Constructor Summary | |
|---|---|
SpecialCard(org.jdom.Element card)
Constructs a SpecialCard from a xml-file specifying the features of the card |
|
| Method Summary | |
|---|---|
java.util.Vector |
getReplacing()
Returns the types of cards that this card may replace |
| Methods inherited from class rolec.NormalCard |
|---|
getPredators, getPreys, getReplacement |
| Methods inherited from class rolec.Card |
|---|
getID, getName, getNumber, print, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpecialCard(org.jdom.Element card)
card - an Element from the xml-file specifying the features of the card| Method Detail |
|---|
public java.util.Vector getReplacing()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||