MCPcopy
hub / github.com/zhouzi/TheaterJS / setCurrentActor

Function setCurrentActor

src/theaterJS.js:58–61  ·  view source on GitHub ↗
(actorName)

Source from the content-addressed store, hash-verified

56 }
57
58 function setCurrentActor (actorName) {
59 props.onStage = actorName
60 return this
61 }
62
63 function getCurrentActor () {
64 return props.casting[props.onStage] || null

Callers 2

theaterJSFunction · 0.85
playNextSceneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected