Esempio n. 1
0
 public Card(int identifier)
 {
     cardProps = new CardProperties();
     this.cardProps.identifier = identifier;
     suppTextures = new CardSupplementalTextures();
     setContentName("cardBack");
     setNestedClasses();
     initSupplements();
 }
Esempio n. 2
0
 public Card(Card card) //a better functionality exists in BoardFunctioanlity -> duplicate. only known use in CardViewer, will look into patching later//
 {
     setNestedClasses();
     this.suppTextures = card.suppTextures;
     this.setScale(card.properties.scale.X);
     this.cardProps         = card.cardProps;
     this.properties.Width  = card.properties.width;
     this.properties.Height = card.properties.height;
     initSupplements();
 }
Esempio n. 3
0
 public CardImageStorage()
 {
     suppTextures          = new CardSupplementalTextures();
     cardTextureDictionary = new Dictionary <int, Texture2D>();
 }