Esempio n. 1
0
        public CouplingsControler(CouplingsComposite display, CouplingsEngine engine, Grid gameGrid, int numberOfFields = 8) : base(gameGrid, "couplings")
        {
            this.engine  = engine;
            this.display = display;

            this.numberOfFields = numberOfFields;
            currentElement      = 0;

            instructionDisplay = Finder.FindElementWithTag(allControls, "CouplingText") as TextBox;
        }
Esempio n. 2
0
        public CouplingsControlerFactory(Grid grid)
        {
            this.grid = grid;

            engine = new CouplingsEngine();
        }