sdr 0.7

net.cscott.sdr.calls
Interface Dancer

All Known Implementing Classes:
PhantomDancer, StandardDancer

public interface Dancer

Dancer objects represent a dancer (real or phantom). Equality is object identity. There are eight canonical 'real' dancers, and an unlimited number of phantoms.


Method Summary
 boolean isBoy()
           
 boolean isGirl()
           
 boolean isHead()
           
 boolean isSide()
           
 boolean matchesTag(TaggedFormation.Tag tag)
          Certain dancer TaggedFormation.Tags are inherent to a dancer, for example 'DANCER_1', 'COUPLE_2', 'BOY' etc.
 TaggedFormation.Tag primitiveTag()
          Returns the most-specific primitive tag for the given dancer, or 'null' if the dancer is a phantom.
 

Method Detail

isHead

boolean isHead()

isSide

boolean isSide()

isBoy

boolean isBoy()

isGirl

boolean isGirl()

matchesTag

boolean matchesTag(TaggedFormation.Tag tag)
Certain dancer TaggedFormation.Tags are inherent to a dancer, for example 'DANCER_1', 'COUPLE_2', 'BOY' etc. This method identifies if one of these tags is appropriate for the current Dancer.


primitiveTag

TaggedFormation.Tag primitiveTag()
Returns the most-specific primitive tag for the given dancer, or 'null' if the dancer is a phantom.


sdr 0.7

Copyright © 2006-2009 C. Scott Ananian