public class Stage extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
anActorIsOnStage()
Check whether there is any actor in the spotlight at the moment.
|
void |
drawTheCurtain()
This method should be called at the end of the screenplay test to perform teardown actions on each actor.
|
Actor |
shineSpotlightOn(String actorName)
Place an actor with a given name in the spotlight, without the intent to have them perform an action at this time.
|
Actor |
theActor()
A shortened form of theActorInTheSpotight()
|
Actor |
theActorInTheSpotlight()
Return the current actor in the spotlight.
|
public Stage(Cast cast)
public Actor shineSpotlightOn(String actorName)
public Actor theActorInTheSpotlight()
public Actor theActor()
public void drawTheCurtain()
public boolean anActorIsOnStage()
Copyright © 2021. All rights reserved.