|
sdr 0.5 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Dancer | |
---|---|
net.cscott.sdr | This package contains the main class (App ) as well as interface
definitions needed to tie the various pieces together. |
net.cscott.sdr.calls | This package contains the square dance choreography engine, and the basic types and interfaces required to communicate with it. |
net.cscott.sdr.calls.transform | This package contains code to parse call lists and transform call abstract syntax in various ways. |
Uses of Dancer in net.cscott.sdr |
---|
Methods in net.cscott.sdr that return types with arguments of type Dancer | |
---|---|
MultiMap<Dancer,DancerPath> |
ChoreoEngine.execute(Apply call,
ScoreAccumulator score)
Given a TimedFormation representing the "current" dancer
formation, perform the given call. |
Uses of Dancer in net.cscott.sdr.calls |
---|
Classes in net.cscott.sdr.calls that implement Dancer | |
---|---|
class |
PhantomDancer
An object representing a phantom dancer. |
class |
StandardDancer
An object representing one of the eight real dancers. |
Fields in net.cscott.sdr.calls with type parameters of type Dancer | |
---|---|
static Map<Dancer,String> |
Formation.dancerNames
Map from StandardDancer s to 2-character dancer representations. |
protected Map<Dancer,Position> |
Formation.location
|
Map<Dancer,TaggedFormation> |
FormationMatch.matches
The FormationMatch.matches field is a map from phantom dancers
in the meta formation to real dancers in a tagged subformation. |
protected Set<Dancer> |
Formation.selected
|
Set<Dancer> |
FormationMatch.unmatched
Be explicit about unmatched dancers, just in case real matched dancers also map to FormationList.SINGLE_DANCER . |
Methods in net.cscott.sdr.calls that return types with arguments of type Dancer | |
---|---|
Comparator<Dancer> |
Formation.dancerComparator()
Return a Dancer Comparator that compares dancers
based on their positions within this Formation . |
Set<Dancer> |
DanceState.dancers()
Return all the Dancer s in this DanceState . |
Set<Dancer> |
Formation.dancers()
|
Set<Dancer> |
Formation.selectedDancers()
|
List<Dancer> |
Formation.sortedDancers()
Return the dancers of Formation.dancers() , in the order given by
Formation.dancerComparator() . |
Set<Dancer> |
TaggedFormation.tagged(Set<TaggedFormation.Tag> tags)
Return the set of dancers tagged by any of the given set of tags. |
Set<Dancer> |
TaggedFormation.tagged(TaggedFormation.Tag tag)
Return the set of dancers tagged with the given tag. |
Methods in net.cscott.sdr.calls with parameters of type Dancer | |
---|---|
void |
DanceState.add(Dancer d,
DancerPath dp)
Move the given dancer along the specified dancer path. |
Box |
Formation.bounds(Dancer d)
Return the bounds of the given dancer -- always its position plus or minus 1 unit on the x and y axes. |
boolean |
Formation.isSelected(Dancer d)
Return true iff the given dancer is selected. |
boolean |
TaggedFormation.isTagged(Dancer d,
Set<TaggedFormation.Tag> tags)
Return true if the dancer is tagged by any tag in the given set of tags |
boolean |
TaggedFormation.isTagged(Dancer d,
TaggedFormation.Tag tag)
Returns true if the dancer is tagged by the given tag. |
Position |
Formation.location(Dancer d)
|
TaggedFormation |
TaggedFormation.move(Dancer d,
Position p)
|
Formation |
Formation.move(Dancer d,
Position p)
Return a formation like this one, except that the given dancer is moved to the specified position. |
List<DancerPath> |
DanceState.movements(Dancer d)
Return all the DancerPath s, in order, performed by the given
Dancer . |
Formation |
Formation.select(Dancer... d)
Convenience method for Formation.select(Collection) . |
Set<TaggedFormation.Tag> |
TaggedFormation.tags(Dancer d)
Return the non-primitive tags attached to this dancer. |
Method parameters in net.cscott.sdr.calls with type arguments of type Dancer | |
---|---|
static void |
Tagger.addAutomatic(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
static void |
Tagger.addFrom(TaggedFormation template,
Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
Find all instance of the tagged template formation in the given
given formation f , and add the tags from the template to the
set of tags on f given in tags . |
static Formation |
Breather.insert(Formation meta,
Map<Dancer,Formation> components)
Insert formations into a meta-formation. |
TaggedFormation |
TaggedFormation.select(Collection<Dancer> d)
|
Formation |
Formation.select(Collection<Dancer> d)
Build a new formation with only the given dancers selected. |
static void |
Tagger.tag2(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
String |
Formation.toStringDiagram(String prefix,
Map<Dancer,String> dancerNames)
Return an ascii-art diagram of this formation, using a custom mapping from Dancer s to 2-character strings. |
Uses of Dancer in net.cscott.sdr.calls.transform |
---|
Methods in net.cscott.sdr.calls.transform with parameters of type Dancer | |
---|---|
static DancerPath |
EvalPrim.apply(Dancer d,
Formation f,
Prim p)
"Dance" the given primitive for the given dancer in the given formation to yield a DancerPath for that dancer. |
|
sdr 0.5 | |||||||||
PREV NEXT | FRAMES NO FRAMES |