Guest User

Untitled

a guest
Aug 21st, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. protected function hover(Object1:FlxObject, Object2:FlxObject):void{
  2.  
  3. player.hit = true;
  4.  
  5. }
  6.  
  7. override public function update():void {
  8.  
  9. FlxU.overlap(player.hitBox, testObject, hover);
  10.  
  11. super.update();
  12. }
Add Comment
Please, Sign In to add comment