| Package | org.robotlegs.mvcs |
| Class | public class Actor |
| Inheritance | Actor Object |
IActor implementation
As part of the MVCS implementation the Actor provides core functionality to an applications
various working parts.
Some possible uses for the Actor include, but are no means limited to:
Essentially any class where it might be advantagous to have basic dependency injection supplied is a candidate
for extending Actor.
| Property | Defined By | ||
|---|---|---|---|
| eventDispatcher : IEventDispatcher | Actor | ||
| Method | Defined By | ||
|---|---|---|---|
Actor() | Actor | ||
| Method | Defined By | ||
|---|---|---|---|
dispatch(event:Event):Boolean
Dispatch helper method
| Actor | ||
| eventDispatcher | property |
eventDispatcher:IEventDispatcher
public function get eventDispatcher():IEventDispatcher public function set eventDispatcher(value:IEventDispatcher):void| eventMap | property |
eventMap:IEventMap [read-only] Local EventMap
protected function get eventMap():IEventMap| Actor | () | Constructor |
public function Actor()| dispatch | () | method |
protected function dispatch(event:Event):BooleanDispatch helper method
Parameters
event:Event — The Event to dispatch on the IContext's IEventDispatcher
|
Boolean |