Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. public class Grem {
  2. ImageIcon grem = new ImageIcon(getClass().getResource("grem.png"));
  3. ImageIcon grema = new ImageIcon(getClass().getResource("grema.png"));
  4. ImageIcon gremsa = new ImageIcon(getClass().getResource("gremsa.png"));
  5. ImageIcon gremsd = new ImageIcon(getClass().getResource("gremsd.png"));
  6. ImageIcon greml1 = new ImageIcon(getClass().getResource("greml1.png"));
  7. ImageIcon greml2 = new ImageIcon(getClass().getResource("greml2.png"));
  8. ImageIcon gremla1 = new ImageIcon(getClass().getResource("gremla1.png"));
  9. ImageIcon gremla2 = new ImageIcon(getClass().getResource("gremla2.png"));
  10. ImageIcon gremlsd1 = new ImageIcon(getClass().getResource("gremlsd1.png"));
  11. ImageIcon gremlsd2 = new ImageIcon(getClass().getResource("gremlsd2.png"));
  12. ImageIcon gremlsa1 = new ImageIcon(getClass().getResource("gremlsa1.png"));
  13. ImageIcon gremlsa2 = new ImageIcon(getClass().getResource("gremlsa2.png"));
  14. int x = 0, y = 675, standardY = 675;
  15. private boolean d = true, a = false, sa = false, sd = false, d1 = false, a1 = false, sa1 = false, sd1 = false;
  16. int ld = 0, lsd = 0, la = 0, lsa = 0;
  17.  
  18. public Grem(){
  19.  
  20. }
  21. public ImageIcon getGrem(){
  22. return grem;
  23. }
  24. public ImageIcon getGrema() {
  25. return grema;
  26. }
  27. public ImageIcon getGremsa() {
  28. return gremsa;
  29. }
  30. public ImageIcon getGremsd() {
  31. return gremsd;
  32. }
  33. public ImageIcon getGreml1() {
  34. return greml1;
  35. }
  36. public ImageIcon getGreml2() {
  37. return greml2;
  38. }
  39. public ImageIcon getGremla1() {
  40. return gremla1;
  41. }
  42. public ImageIcon getGremla2() {
  43. return gremla2;
  44. }
  45. public ImageIcon getGremlsd1() {
  46. return gremlsd1;
  47. }
  48. public ImageIcon getGremlsd2() {
  49. return gremlsd2;
  50. }
  51. public ImageIcon getGremlsa1() {
  52. return gremlsa1;
  53. }
  54. public ImageIcon getGremlsa2() {
  55. return gremlsa2;
  56. }
  57. public void setX(int x){
  58. this.x = x;
  59. }
  60. public int getX(){
  61. return x;
  62. }
  63. public int getY() {
  64. return y;
  65. }
  66. public void setY(int y) {
  67. this.y = y;
  68. }
  69. public int getStandardY() {
  70. return standardY;
  71. }
  72. public void setStandardY(int standardY) {
  73. this.standardY = standardY;
  74. }
  75. public boolean isD() {
  76. return d;
  77. }
  78. public void setD(boolean d) {
  79. this.d = d;
  80. }
  81. public boolean isA() {
  82. return a;
  83. }
  84. public void setA(boolean a) {
  85. this.a = a;
  86. }
  87. public boolean isSa() {
  88. return sa;
  89. }
  90. public void setSa(boolean sa) {
  91. this.sa = sa;
  92. }
  93. public boolean isSd() {
  94. return sd;
  95. }
  96. public void setSd(boolean sd) {
  97. this.sd = sd;
  98. }
  99. public boolean isD1() {
  100. return d1;
  101. }
  102. public void setD1(boolean d1) {
  103. this.d1 = d1;
  104. }
  105. public boolean isA1() {
  106. return a1;
  107. }
  108. public void setA1(boolean a1) {
  109. this.a1 = a1;
  110. }
  111. public boolean isSa1() {
  112. return sa1;
  113. }
  114. public void setSa1(boolean sa1) {
  115. this.sa1 = sa1;
  116. }
  117. public boolean isSd1() {
  118. return sd1;
  119. }
  120. public void setSd1(boolean sd1) {
  121. this.sd1 = sd1;
  122. }
  123. public int getLd() {
  124. return ld;
  125. }
  126. public void setLd(int ld) {
  127. this.ld = ld;
  128. }
  129. public int getLsd() {
  130. return lsd;
  131. }
  132. public void setLsd(int lsd) {
  133. this.lsd = lsd;
  134. }
  135. public int getLa() {
  136. return la;
  137. }
  138. public void setLa(int la) {
  139. this.la = la;
  140. }
  141. public int getLsa() {
  142. return lsa;
  143. }
  144. public void setLsa(int lsa) {
  145. this.lsa = lsa;
  146. }
  147. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement