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