|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 Dancer
public boolean isSide()
isSide
in interface Dancer
public boolean isBoy()
isBoy
in interface Dancer
public boolean isGirl()
isGirl
in interface Dancer
public boolean matchesTag(TaggedFormation.Tag tag)
matchesTag
in interface Dancer
public TaggedFormation.Tag primitiveTag()
primitiveTag
in interface Dancer
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public 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 |