Example #1
0
 public Account(int AccountID, string accLogin, string accPass)
 {
     this.AccountID    = AccountID;
     this.AccountLogin = accLogin;
     this.Password     = accPass;
     Extent.Add(this);
 }
Example #2
0
File: Card.cs Project: 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);
 }
Example #3
0
File: Deck.cs Project: crosik/MAS
 public Deck(string deckName)
 {
     this.DeckName = deckName;
     Extent.Add(this);
 }
Example #4
0
 public ActorAddvertisment(Actor actor, Addvertisment addvert, decimal salary)
 {
     (Actor, Addvertisment, Salary) = (actor, addvert, salary);
     Extent.Add(this);
 }
Example #5
0
File: Card.cs Project: crosik/MAS
 private Card()
 {
     Extent.Add(this);
 }