|
sdr 0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.cscott.sdr.calls.PhantomDancer
public class PhantomDancer
An object representing a phantom dancer.
| Constructor Summary | |
|---|---|
PhantomDancer()
You can create as many phantom dancers as you need. |
|
PhantomDancer(Set<TaggedFormation.Tag> tags)
Sometimes you want to create phantoms which match specific primitive dancer tags. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
hashCode()
Repeatable hashcode: return the id field of this phantom, which is incremented by one for each dancer. |
boolean |
isBoy()
Phantoms are (usually) not boys. |
boolean |
isGirl()
Phantoms are (usually) not girls. |
boolean |
isHead()
Phantoms are (usually) not heads. |
boolean |
isSide()
Phantoms are (usually) not sides. |
boolean |
matchesTag(TaggedFormation.Tag tag)
Phantoms aren't couple 1, dancer 2, boy/girl etc. |
TaggedFormation.Tag |
primitiveTag()
Phantoms can't be primitively-selected. |
String |
toString()
Human-readable representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PhantomDancer()
public PhantomDancer(Set<TaggedFormation.Tag> tags)
| Method Detail |
|---|
public boolean isHead()
isHead in interface Dancerpublic boolean isSide()
isSide in interface Dancerpublic boolean isBoy()
isBoy in interface Dancerpublic boolean isGirl()
isGirl in interface Dancerpublic boolean matchesTag(TaggedFormation.Tag tag)
matchesTag in interface Dancerpublic TaggedFormation.Tag primitiveTag()
primitiveTag in interface Dancerpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
sdr 0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||