Esempio n. 1
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     IsMouseVisible        = true;
     this.elementsService  = new GameElementsService();
     this.physicsEngine    = new Physics(this.elementsService);
 }
Esempio n. 2
0
 public Physics(GameElementsService elementsService)
 {
     this.elementsService = elementsService;
 }
Esempio n. 3
0
 public CollisionManager(GameElementsService gameElementsService)
 {
     this._gameElementsService = gameElementsService;
 }