Created
February 16, 2015 21:27
-
-
Save darkoverlordofdata/459bd409f21d64b68f08 to your computer and use it in GitHub Desktop.
FlxSignal issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ; | |
import flixel.util.FlxSignal; | |
class SignalTest { | |
var signal0:FlxSignal; | |
function callbackEmpty1() {} | |
public function new() { | |
} | |
public function test() { | |
signal0 = new FlxSignal(); | |
signal0.add(callbackEmpty1); | |
if (signal0.has(callbackEmpty1)) { | |
trace('PASS'); | |
} else { | |
trace('FAIL'); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment