Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GameEngine"/> class.
 /// </summary>
 public GameEngine()
 {
     this._weaponCreator = new WeaponCreator();
     this._storageManager = new StorageManager();
     this._battleFieldHandler = new BattleFieldHandler();
     this._scoreManager = new ScoreManager();
     this._utility = new Utility();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GameEngine"/> class.
 /// </summary>
 public GameEngine()
 {
     this._weaponCreator      = new WeaponCreator();
     this._storageManager     = new StorageManager();
     this._battleFieldHandler = new BattleFieldHandler();
     this._scoreManager       = new ScoreManager();
     this._utility            = new Utility();
 }