Exemplo n.º 1
0
        public MainMenuForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm)
            : base(Game, ParentScene, CloseAction, ParentForm)
        {
            DaylyBonusForm = null;
            CreationTableForm = null;

            TablesSelectOptionsForm = null;
        }
Exemplo n.º 2
0
 // Конструтор: игровой объект, родительская сцена, событие завершения, родительская форма
 public BaseBeloteForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm)
 {
     this.Game = Game;
     this.ParentScene = ParentScene;
     this.CloseAction = CloseAction;
     this.Parent = ParentForm;
     if (Parent != null)
         BaseZPosition = Parent.BaseZPosition + 10;
     else
         BaseZPosition = 0;
     Controls = new List<BaseBeloteControl> ();
 }
Exemplo n.º 3
0
        public BeloteEdit(string Name, float Width, float Height, float X, float Y, 
			SKTexture Texture, string Text, bool SecureText, BeloteFormAction onEndEditing)
            : this(Name)
        {
            this.Width = Width;
            this.Height = Height;
            this.X = X;
            this.Y = Y;
            this.Texture = Texture;
            this.Text = Text;
            this.SecureText = SecureText;
            this.OnEndEditing = onEndEditing;
            ConstructControl ();
        }
Exemplo n.º 4
0
        public BeloteCard(CardSuit Suit, CardType Type, bool IsHide, float X, float Y, 
			BeloteFormAction onTouchStart, BeloteFormAction onTouchEnd)
            : this(Suit.ToString () + ((int)Type).ToString ())
        {
            this.Suit = Suit;
            this.Type = Type;
            this.IsHide = IsHide;
            this.Width = 105;
            this.Height = 147;
            this.X = X;
            this.Y = Y;
            this.OnTouchEnd = onTouchEnd;
            this.OnTouchStart = onTouchStart;
            backTexture = SKTexture.FromImageNamed ("Textures/Cards/back.png");
            cardTexture = SKTexture.FromImageNamed ("Textures/Cards/" + Helpers.SuitToString(Suit) + "/" + ((int)Type).ToString () + ".png");
            ConstructControl ();
        }
Exemplo n.º 5
0
        public BeloteButton(string Name, float Width, float Height, float X, float Y, 
			BeloteFormAction onTouchStart, BeloteFormAction onTouchEnd, SKTexture EnabledTexture, SKTexture DisabledTexture = null, string Text = "",
			float FontSize = 12, UIColor FontColor = null, string FontName = "Roboto")
            : this(Name)
        {
            this.Width = Width;
            this.Height = Height;
            this.X = X;
            this.Y = Y;
            this.OnTouchStart = onTouchStart;
            this.OnTouchEnd = onTouchEnd;
            this.EnabledTexture = EnabledTexture;
            this.DisabledTexture = DisabledTexture;
            buttonText = Text;
            this.FontName = FontName;
            this.FontSize = FontSize;
            if (FontColor != null)
                this.FontColor = FontColor;
            else
                this.FontColor = UIColor.White;
            ConstructControl ();
        }
Exemplo n.º 6
0
 public AuthorizationForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm)
     : base(Game, ParentScene, CloseAction, ParentForm)
 {
     PasswordRemindForm = null;
 }
 public TablesSelectOptionsForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm)
     : base(Game, ParentScene, CloseAction, ParentForm)
 {
 }
Exemplo n.º 8
0
 public PasswordRemindForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm)
     : base(Game, ParentScene, CloseAction, ParentForm)
 {
 }
Exemplo n.º 9
0
 public BaseBelotePopupForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm)
     : base(Game, ParentScene, CloseAction, ParentForm)
 {
 }
Exemplo n.º 10
0
 public DaylyBonusForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm)
     : base(Game, ParentScene, CloseAction, ParentForm)
 {
 }