public Engine(ModulesManager modulesManager) { this.modulesManager = modulesManager; this.boardManager = modulesManager.GetService <BoardManager>(); this.mouse = modulesManager.GetService <Mouse>(); }