public void DisplayWinner(IWinner winner) { if (winner != null) { var currentBitPatterns = _characterToBitMapConverter.GetBitPattern(winner.WinningAttendee.Name, "*** wins ***", winner.AwardedSwag.Company, winner.AwardedSwag.Thing); _matrixTransformer = MatrixTransformer.Create <WinnerTransformer>(currentBitPatterns); StartTransform(100); } else { _matrixTransformer = MatrixTransformer.Create <GameOverTransformer>(); StartTransform(1000); } }
private void Form_Load(object sender, EventArgs e) { DisplayCurrentBitPatterns(new BitMatrix()); _matrixTransformer = MatrixTransformer.Create <StartupTransformer>(); StartTransform(200); }