public override void TakeDamage() { Mario.BeNormal(); Timer.ExtendTime(TimerUtil.Two); Timer.SetTimeRunning(true); FloatingTimeBar.CreateNewTimeAnimation(Mario, TimerUtil.Two * TimerUtil.ExtentTime); }
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); } }
public override void Beflipped() { Enemy.EnemyState = new StompedMiniBossState(Enemy); Timer.ExtendTime(TimerUtil.Ten); FloatingTimeBar.CreateNewTimeAnimation(Enemy, TimerUtil.Ten * TimerUtil.ExtentTime); }