|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectrolec.Card
rolec.NormalCard
public class NormalCard
This class represents a NormalCard within the game of Frank's Zoo. A NormalCard is a card that cannot be used as a replacement for another card of as a Joker.
| Constructor Summary | |
|---|---|
NormalCard(org.jdom.Element card)
Constructs a NormalCard from a xml-file specifying the features of the card |
|
| Method Summary | |
|---|---|
java.util.Vector |
getPredators()
Returns the predators of this card |
java.util.Vector |
getPreys()
Returns the preys of this card |
int |
getReplacement()
Returns the card by which this card may be replaced |
| 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 NormalCard(org.jdom.Element card)
card - an Element from the xml-file specifying the features of the card| Method Detail |
|---|
public java.util.Vector getPredators()
public java.util.Vector getPreys()
public int getReplacement()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||