Hi,
i'm new to phaser 3 and would have some clarifying answers on the Calss Pointer here:
in particular:
-
I want to create an Pointer instance using the following code:
-
var gun = new Pointer(manager,0);
-
I know that the "manager" argument refers to a InputManager object, but i don't understand how to create/configure it,
i tried this:
var manager = new InputManager(this, this);
but obtain the following error log:
ReferenceError: InputManager is not defined
Can someone help me on this problem?
Thanks!