Exemplo n.º 1
0
 public Account(int AccountID, string accLogin, string accPass)
 {
     this.AccountID    = AccountID;
     this.AccountLogin = accLogin;
     this.Password     = accPass;
     Extent.Add(this);
 }
Exemplo n.º 2
0
Arquivo: Card.cs Projeto: crosik/MAS
 public Card(CardRarity cardRarity, string cardName, int cardHP, int cardDMG, int cardCost, string cardDesc, string cardEffect, int?cardOverload)
 {
     this.CardRarity   = cardRarity;
     this.CardName     = cardName;
     this.CardHP       = cardHP;
     this.CardDMG      = cardDMG;
     this.CardCost     = cardCost;
     this.CardOverload = cardOverload;
     this.CardDesc     = cardDesc;
     this.CardEffect   = cardEffect;
     this.CardTextz    = new CardText(cardEffect, cardDesc);
     Extent.Add(this);
 }
Exemplo n.º 3
0
Arquivo: Deck.cs Projeto: crosik/MAS
 public Deck(string deckName)
 {
     this.DeckName = deckName;
     Extent.Add(this);
 }
Exemplo n.º 4
0
 public ActorAddvertisment(Actor actor, Addvertisment addvert, decimal salary)
 {
     (Actor, Addvertisment, Salary) = (actor, addvert, salary);
     Extent.Add(this);
 }
Exemplo n.º 5
0
Arquivo: Card.cs Projeto: crosik/MAS
 private Card()
 {
     Extent.Add(this);
 }