Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

BigCard.java 1.1 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package structures.basic;
  2. /**
  3. * BigCard represents the expanded card version that that appears on mouse-over
  4. * @author Dr. Richard McCreadie
  5. *
  6. */
  7. public class BigCard {
  8. int attack;
  9. int health;
  10. String[] rulesTextRows;
  11. String[] cardTextures;
  12. public BigCard() {}
  13. public BigCard(int attack, int health, String[] rulesTextRows, String[] cardTextures) {
  14. super();
  15. this.attack = attack;
  16. this.health = health;
  17. this.rulesTextRows = rulesTextRows;
  18. this.cardTextures = cardTextures;
  19. }
  20. public int getAttack() {
  21. return attack;
  22. }
  23. public void setAttack(int attack) {
  24. this.attack = attack;
  25. }
  26. public int getHealth() {
  27. return health;
  28. }
  29. public void setHealth(int health) {
  30. this.health = health;
  31. }
  32. public String[] getRulesTextRows() {
  33. return rulesTextRows;
  34. }
  35. public void setRulesTextRows(String[] rulesTextRows) {
  36. this.rulesTextRows = rulesTextRows;
  37. }
  38. public String[] getCardTextures() {
  39. return cardTextures;
  40. }
  41. public void setCardTextures(String[] cardTextures) {
  42. this.cardTextures = cardTextures;
  43. }
  44. }