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 }
public void WaitRunGame() { component.GetActionComponent().StartAction("changeSprite"); if (SEKeyboardManager.CheckKeyDown(Keys.Space)) { Jump(); FlappyBirdProperties.SetBirdFlyStatus(true); FlappyBirdProperties.SetGameWaitingStatus(false); FlappyBirdProperties.GetTextLabel().SetEnable(false); } }