Skip to content

Instantly share code, notes, and snippets.

@darkoverlordofdata
Created February 16, 2015 21:27
Show Gist options
  • Save darkoverlordofdata/459bd409f21d64b68f08 to your computer and use it in GitHub Desktop.
Save darkoverlordofdata/459bd409f21d64b68f08 to your computer and use it in GitHub Desktop.
FlxSignal issue
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