public MainMenuForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm) : base(Game, ParentScene, CloseAction, ParentForm) { DaylyBonusForm = null; CreationTableForm = null; TablesSelectOptionsForm = null; }
// Конструтор: игровой объект, родительская сцена, событие завершения, родительская форма 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> (); }
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 (); }
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 (); }
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 (); }
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) { }
public PasswordRemindForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm) : base(Game, ParentScene, CloseAction, ParentForm) { }
public BaseBelotePopupForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm) : base(Game, ParentScene, CloseAction, ParentForm) { }
public DaylyBonusForm(Game Game, BaseBeloteScene ParentScene, BeloteFormAction CloseAction, BaseBeloteForm ParentForm) : base(Game, ParentScene, CloseAction, ParentForm) { }