MattTuttle/HaxePunk — pull request #31 by MaskedPixel (2012-09-11 00:49:30+00:00)
Title: Added: Entities can have instance names.

Entities can have instance names using the name property. To find an
instance, use the active worlds getInstance function.

Tested and works fine. This is in the current flashpunk version.

unit:
[exec] Class: TestMasks
[exec] Called from ? line 1
[exec] Called from TestMain.hx line 9
[exec] Called from haxe/unit/TestRunner.hx line 101
[exec] Called from haxe/unit/TestRunner.hx line 122
[exec] Called from TestMasks.hx line 21
[exec] Called from com/haxepunk/Engine.hx line 121
[exec] Called from com/haxepunk/Engine.hx line 328
[exec] Called from com/haxepunk/World.hx line 1056
[exec] Called from com/haxepunk/World.hx line 1200
[exec] Uncaught exception - Invalid field access : __s
[exec] Result: 1

all:

BUILD SUCCESSFUL
Total time: 7 seconds