Beispiel #1
0
 public Engine(ObjectRenderer renderer, Player player, Playfield playfield, Scoreboard scoreboard)
 {
     this.renderer = renderer;
     this.player = player;
     this.playfield = playfield;
     this.scoreboard = scoreboard;
 }
Beispiel #2
0
 static void Main()
 {
     ObjectRenderer renderer = new ObjectRenderer();
     Player player = new Player();
     Playfield playfield = new Playfield();
     Scoreboard scoreboard = new Scoreboard();
     Engine engine = new Engine(renderer, player, playfield, scoreboard);
     engine.Run();
     Console.Write("Good Bye!");
     Console.ReadKey();
 }