text
stringlengths
0
17.2k
Examples
When to Use It
Examples
When to Use It
Examples
When to Use It
Examples
When to Use It
Examples
When to Use It
Examples
When to Use It
Direct Communication
When communicating with a specific instance of an Actor in your Level.
Need a reference to the Actor in your Level.
Triggering an event on a specific Actor in your Level.
Casting
When you want to verify an Actor is of a certain class to access its properties.
Need a reference to an Actor in your Level to cast to the desired Actor class.
Accessing specific functionality of child Actors that share the same parent class.
Interfaces
When adding the same functionality to different Actor classes.
Need a reference to the Actor in your Level and the Actor needs to implement the interface.
Adding an interaction behavior to different types of Actors.
Event Dispatchers
When triggering an event from one Actor to many Actors.
Actors need to subscribe to the event to react to it.
Notifying many different types of Actors that an event has triggered.
Direct Communication
When communicating with a specific instance of an Actor in your Level.
Need a reference to the Actor in your Level.
Triggering an event on a specific Actor in your Level.
Casting
When you want to verify an Actor is of a certain class to access its properties.
Need a reference to an Actor in your Level to cast to the desired Actor class.
Accessing specific functionality of child Actors that share the same parent class.
Interfaces
When adding the same functionality to different Actor classes.
Need a reference to the Actor in your Level and the Actor needs to implement the interface.
Adding an interaction behavior to different types of Actors.
Event Dispatchers
When triggering an event from one Actor to many Actors.
Actors need to subscribe to the event to react to it.
Notifying many different types of Actors that an event has triggered.
Remarks
Quick Start for the Interface communication method.
AndroidFileServer
Packaging
Deployment
Connection