Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override public function hitBottom(Contact:FlxObject, Velocity:Number):void {
- this.__jumping = false;
- this.__on_car = true;
- }
- override public function update():void {
- __on_car = false;
- // a bunch of code
- super.update
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement