public TriangleBoard(ITriangleVM thisMod,
                      CommandContainer command,
                      IGamePackageResolver resolver,
                      PyramidSolitaireMainGameClass mainGame
                      ) : base(thisMod, command, resolver, 7)
 {
     _mainGame = mainGame;
 }
        public TriangleObservable(ITriangleVM thisMod, CommandContainer command, IGamePackageResolver resolver, int maxColumnsRows)
        {
            _thisMod        = thisMod;
            _maxRowsColumns = maxColumnsRows;
            _thisP          = resolver.Resolve <IProportionImage>(ts.TagUsed);
            MethodInfo method = this.GetPrivateMethod(nameof(PrivateCardClickAsync));
            MethodInfo fun    = this.GetPrivateMethod(nameof(CanClickCard));

            CardCommand = new PlainCommand(this, method, fun, command);
            LoadBoard();
        }
Example #3
0
 public TriangleBoard(ITriangleVM thisMod, CommandContainer command, IGamePackageResolver resolver) : base(thisMod, command, resolver, 5)
 {
 }