|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.limdul.cassiopeia.data.game.figure.Fairy
public class Fairy
Implementiert die Fee aus der dritten Erweiterung.
| Constructor Summary | |
|---|---|
Fairy()
Erzeugt eine neue Fee. |
|
| Method Summary | |
|---|---|
void |
destroy()
Entfernt die Fee vom Spielfeld. |
Figure |
getFigure()
Liefert die Figur, bei der die Fee sitzt. |
Position |
getPosition()
Liefert die Position auf der Minimap, wo die Fee sitzt. |
Vertex |
getPositionVertex()
Liefert den Knoten, auf dem die Fee sitzt. |
boolean |
isTransparent()
Testet, ob die Fee transparent ist. |
void |
placeCard(Card card,
Position minimap)
Setzt die Fee direkt auf eine Karte, nicht an eine Figur. |
void |
setFigure(Figure f)
Setzt die Fee zu einer Figur. |
void |
setTransparent(boolean transparent)
Setzt die Fee transparent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Fairy()
| Method Detail |
|---|
public void destroy()
public void setFigure(Figure f)
f - Die Figur, zu der die Fee gestzt wird.public Figure getFigure()
public Position getPosition()
public Vertex getPositionVertex()
public void placeCard(Card card,
Position minimap)
card - Die Karte.minimap - Die Minimap Position.public void setTransparent(boolean transparent)
transparent - true, wenn er transparent sein soll, false wenn nicht.public boolean isTransparent()
true, wenn die Fee transparent ist, false sonst.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||