public Card(int identifier) { cardProps = new CardProperties(); this.cardProps.identifier = identifier; suppTextures = new CardSupplementalTextures(); setContentName("cardBack"); setNestedClasses(); initSupplements(); }
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(); }