|
Last change
on this file since 7d9c033 was 7d9c033, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 7 years ago |
|
Initial commit, code decompiled from a jar
|
-
Property mode
set to
100644
|
|
File size:
961 bytes
|
| Rev | Line | |
|---|
| [7d9c033] | 1 | package gamegui;
|
|---|
| 2 |
|
|---|
| 3 | import java.awt.Graphics;
|
|---|
| 4 |
|
|---|
| 5 | public class Member {
|
|---|
| 6 | private String name;
|
|---|
| 7 | private int x;
|
|---|
| 8 | private int y;
|
|---|
| 9 | private int width;
|
|---|
| 10 | private int height;
|
|---|
| 11 |
|
|---|
| 12 | public Member(final String newName, final int newX, final int newY, final int newWidth, final int newHeight) {
|
|---|
| 13 | this.name = new String(newName);
|
|---|
| 14 | this.x = newX;
|
|---|
| 15 | this.y = newY;
|
|---|
| 16 | this.width = newWidth;
|
|---|
| 17 | this.height = newHeight;
|
|---|
| 18 | }
|
|---|
| 19 |
|
|---|
| 20 | public void draw(final Graphics g) {
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | public boolean isClicked(final int xCoord, final int yCoord) {
|
|---|
| 24 | return false;
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | public void clear() {
|
|---|
| 28 | }
|
|---|
| 29 |
|
|---|
| 30 | public String getName() {
|
|---|
| 31 | return this.name;
|
|---|
| 32 | }
|
|---|
| 33 |
|
|---|
| 34 | public int getX() {
|
|---|
| 35 | return this.x;
|
|---|
| 36 | }
|
|---|
| 37 |
|
|---|
| 38 | public int getY() {
|
|---|
| 39 | return this.y;
|
|---|
| 40 | }
|
|---|
| 41 |
|
|---|
| 42 | public int getWidth() {
|
|---|
| 43 | return this.width;
|
|---|
| 44 | }
|
|---|
| 45 |
|
|---|
| 46 | public int getHeight() {
|
|---|
| 47 | return this.height;
|
|---|
| 48 | }
|
|---|
| 49 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.