Constructs new Actor object from given entity unique ID. Use Actor.isValid first, to check if entity with this ID exists, or a java.lang.IllegalArgumentException will be thrown.
pointer to the native object wrapped by the following Actor object, represented by a signed 64-bit integer
whether the entity with given unique ID currently exists in the world. Use it when you construct Actor and its subclasses, otherwise you will get a java.lang.IllegalArgumentException telling you there is no entity with given id.
Generated using TypeDoc
Wrapper for the native
Actor
class to get access to the wide variety of the methods of any entity in the game.1.0