예제 #1
0
		public override void TakeDamage()
		{
			Mario.BeNormal();
            Timer.ExtendTime(TimerUtil.Two);
            Timer.SetTimeRunning(true);
            FloatingTimeBar.CreateNewTimeAnimation(Mario, TimerUtil.Two * TimerUtil.ExtentTime);
        }
예제 #2
0
 private void GoombaKoopaReact(IEnemy enemyParam)
 {
     if (enemyParam.EnemyState is LeftStompedKoopaState && result == Direction.Right ||
         enemyParam.EnemyState is RightStompedKoopaState && result == Direction.Left)
     {
         enemy.Beflipped();
         Timer.ExtendTime(TimerUtil.Two);
         FloatingTimeBar.CreateNewTimeAnimation(enemyParam, TimerUtil.Three * TimerUtil.ExtentTime);
         ScoringSystem.Instance.AddPointsForEnemyHitByShell(enemyParam);
     }
 }
예제 #3
0
 public override void Beflipped()
 {
     Enemy.EnemyState = new StompedMiniBossState(Enemy);
     Timer.ExtendTime(TimerUtil.Ten);
     FloatingTimeBar.CreateNewTimeAnimation(Enemy, TimerUtil.Ten * TimerUtil.ExtentTime);
 }