1
2
3
4
5
6
7
8 package com.buckosoft.PicMan.domain;
9
10
11
12
13
14
15 public class MosaicTile {
16 private int mid;
17 private int pid;
18 private int x;
19 private int y;
20 private int width;
21 private int height;
22
23 public MosaicTile() {}
24
25
26
27
28
29
30
31
32
33 public MosaicTile(int mid, int pid, int x, int y, int width, int height) {
34 this.mid = mid;
35 this.pid = pid;
36 this.x = x;
37 this.y = y;
38 this.width = width;
39 this.height = height;
40 }
41
42
43
44
45 public int getMid() {
46 return mid;
47 }
48
49
50
51
52 public void setMid(int mid) {
53 this.mid = mid;
54 }
55
56
57
58
59 public int getPid() {
60 return pid;
61 }
62
63
64
65
66 public void setPid(int pid) {
67 this.pid = pid;
68 }
69
70
71
72
73 public int getX() {
74 return x;
75 }
76
77
78
79
80 public void setX(int x) {
81 this.x = x;
82 }
83
84
85
86
87 public int getY() {
88 return y;
89 }
90
91
92
93
94 public void setY(int y) {
95 this.y = y;
96 }
97
98
99
100
101 public int getWidth() {
102 return width;
103 }
104
105
106
107
108 public void setWidth(int width) {
109 this.width = width;
110 }
111
112
113
114
115 public int getHeight() {
116 return height;
117 }
118
119
120
121
122 public void setHeight(int height) {
123 this.height = height;
124 }
125
126 }