Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package player_entity
- {
- import net.flashpunk.*;
- import net.flashpunk.FP;
- import net.flashpunk.utils.Input;
- import net.flashpunk.utils.Key;
- /**
- * ...
- * @author JaydenB
- */
- public class Player_Fletch extends PlayerReference
- {
- public function Player_Fletch(_x:Number, _y:Number)
- {
- x = _x;
- y = _y;
- Input.define("left", Key.A);
- Input.define("right", Key.D);
- Input.define("jump", Key.W);
- speed = 200;
- jumpvelocity = 300;
- colour = 0x08005000;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement