Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

63 строки
1.1 KiB

  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. }