Esempio n. 1
0
        public void Collapse()
        {
            FlappyBirdProperties.SetBirdFlyStatus(false);
            FlappyBirdProperties.GetTextLabel().GetComponent().GetFontComponent().SetText("Tap on space to reload game");
            FlappyBirdProperties.GetTextLabel().SetEnable(true);
            component.GetTransformComponent().SetSpeed(8);
#if DEBUG
            Console.WriteLine("Collapse");
#endif
        }
Esempio n. 2
0
 public void WaitRunGame()
 {
     component.GetActionComponent().StartAction("changeSprite");
     if (SEKeyboardManager.CheckKeyDown(Keys.Space))
     {
         Jump();
         FlappyBirdProperties.SetBirdFlyStatus(true);
         FlappyBirdProperties.SetGameWaitingStatus(false);
         FlappyBirdProperties.GetTextLabel().SetEnable(false);
     }
 }