public interface IEditor<ACTOR extends IPiece,VIEW extends ITap>
Modifier and Type | Method and Description |
---|---|
void |
changeFocus(LinkType al,
IFocusable spot,
ClassEnvelope clazz) |
boolean |
checkAndConnect(VIEW selected)
Check if an actor tap touches any other actor taps, then connect their actors.
|
boolean |
connect(ACTOR a1,
LinkType al,
ACTOR a2) |
ActorManager |
edit()
Get a manager for editing actor and actor tap.
|
ActorManager |
editTap()
Get a manager for editing only taps (not actors).
|
java.util.Collection<ACTOR> |
getActors()
Get a collection of all actors
|
Factory |
getFactory() |
IActionStyle |
getInteract() |
java.util.Collection<VIEW> |
getTaps()
Get a collection of all taps
|
java.util.List<IBlueprint<ACTOR>> |
highlightConnectables(LinkType reverse,
IActorTap target,
ClassEnvelope ce) |
void |
kickTapDraw(ITap startTap2) |
void |
lockReleaseTap(IRelease t) |
void |
log(java.lang.String... strings) |
void |
resetNextPos() |
void |
setNextPos(IPoint nextConnectivity) |
void |
shake(int duration) |
ACTOR |
toActor(VIEW view)
Get actor from tap
|
VIEW |
toTap(ACTOR actor)
Get tap from actor
|
void |
unhighlightAllConnectables() |
boolean checkAndConnect(VIEW selected)
selected
- a target actor tap which is checkedjava.util.Collection<VIEW> getTaps()
java.util.Collection<ACTOR> getActors()
ActorManager edit()
ActorManager editTap()
IActionStyle getInteract()
Factory getFactory()
void log(java.lang.String... strings)
void kickTapDraw(ITap startTap2)
void setNextPos(IPoint nextConnectivity)
void resetNextPos()
java.util.List<IBlueprint<ACTOR>> highlightConnectables(LinkType reverse, IActorTap target, ClassEnvelope ce)
void lockReleaseTap(IRelease t)
void unhighlightAllConnectables()
void shake(int duration)
void changeFocus(LinkType al, IFocusable spot, ClassEnvelope clazz)