Kaynağa Gözat

fix typing hole

ncannasse 8 yıl önce
ebeveyn
işleme
e075942885
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      hxd/WaitEvent.hx

+ 1 - 1
hxd/WaitEvent.hx

@@ -20,7 +20,7 @@ class WaitEvent {
 		updateList.push(callb);
 		updateList.push(callb);
 	}
 	}
 
 
-	public function remove(callb) {
+	public function remove( callb : Float->Bool ) {
 		for( e in updateList )
 		for( e in updateList )
 			if( Reflect.compareMethods(e, callb) ) {
 			if( Reflect.compareMethods(e, callb) ) {
 				updateList.remove(e);
 				updateList.remove(e);