private void UpdateSpawningInState(GameTime time, HackGameBoard board, HackNodeGameBoardMedia drawing) { spawnInData.totalTimer -= (float)time.ElapsedGameTime.TotalSeconds; if (spawnInData.totalTimer <= 0) { SetCurrentState(HackGameAgent_State.HackGameAgent_State_Active); } else { if (spawnInData.flashing) { spawnInData.dropInFlash.Update(time); } else { spawnInData.dropInLerp.Update(time); if (!spawnInData.dropInLerp.IsAlive()) { spawnInData.DrawImpact = true; spawnInData.StartFlashing(); board.AddBackgroundTextStandard(new StringBuilder("ACTIVATING ALL SYSTEMS"), 0); board.AddBackgroundTextStandard(new StringBuilder("HACK SENSORS [OK]"), 1); board.AddBackgroundTextStandard(new StringBuilder("HACK ATTACK [OK]"), 0.25f); board.AddBackgroundTextStandard(new StringBuilder("HACK UNIT [OK]"), 0.25f); board.AddBackgroundTextStandard(new StringBuilder("HACK SWEEP [OK]"), 0.25f); board.AddBackgroundTextStandard(new StringBuilder("HACK TORPEDO [OK]"), 0.25f); board.AddBackgroundTextStandard(new StringBuilder("HACK SENSORS [OK]"), 0.50f); board.AddBackgroundTextStandard(new StringBuilder("HACK ATTACK [OK]"), 0.25f); board.AddBackgroundTextStandard(new StringBuilder("HACK UNIT [OK]"), 0.25f); board.AddBackgroundTextStandard(new StringBuilder("HACK SWEEP [OK]"), 0.25f); board.AddBackgroundTextNewline(1.0f); for (int i = 0; i < 10; i++) { board.AddBackgroundTextNewline(0.1f); } board.AddBackgroundTextStandard(new StringBuilder("ALL SYSTEMS GO!"), 0.5f); } } } }