コード例 #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;
        }
コード例 #2
0
        public CouplingsControlerFactory(Grid grid)
        {
            this.grid = grid;

            engine = new CouplingsEngine();
        }