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