// Game-constructor public Game(World world) { // There's not much needed to be constructed ATM as you can assign // properties directly without using a constructor and I'm not really // planing on using this code to create other games. However, it // could be cool with a few preferences at some point. Ex. A socket // to stream to for multi-player mode or color-theme etc. this.World = world; this.World.Level = 1; }
public static void Main() { World world = new World(); Game game = new Game(world); game.Start(); }