private void FireCollisionEvent(FlappyEventArgs e) { if(Collide != null) Collide(this, e); }
private void Collision(Object o, FlappyEventArgs e) { gd = new GameData(1.0); Console.WriteLine(e.score); gd.Collide += Collision; }
private void FireCollisionEvent(FlappyEventArgs e) { if(Collide != null) Collide(this, e); }
private void Collision(Object o, FlappyEventArgs e) { gd = new GameData(1.0); Console.WriteLine(e.score); gd.Collide += Collision; }