public JumpingForm()
 {
     InitializeComponent();
     pl = new Player();
     winHeight = ClientSize.Height;
     winWidth = ClientSize.Width;
 }
Ejemplo n.º 2
0
 public PlayerIdleState(Player pl)
 {
     Console.WriteLine("Player is idling");
     this.pl = pl;
 }
Ejemplo n.º 3
0
 public JumpingState(Player pl)
 {
     Console.WriteLine("Jumping");
     this.pl = pl;
 }
Ejemplo n.º 4
0
 public FallingState(Player pl)
 {
     Console.WriteLine("Falling");
     this.pl = pl;
     _acc = 0.5;
 }