RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
Appearance.java
1package com.osroyale.game.world.entity.mob.player.appearance;
2
3import com.osroyale.Config;
4
44
45public class Appearance {
46
47 public static final int HEAD = 0;
48
49 public static final int JAW = 1;
50
51 public static final int TORSO = 2;
52
53 public static final int ARMS = 3;
54
55 public static final int HANDS = 4;
56
57 public static final int LEGS = 5;
58
59 public static final int FEET = 6;
60
61 private Gender gender;
62
63 private int head;
64
65 private int beard;
66
67 private int torso;
68
69 private int arms;
70
71 private int hands;
72
73 private int legs;
74
75 private int feet;
76
77 private int hairColor;
78
79 private int torsoColor;
80
81 private int legsColor;
82
83 private int feetColor;
84
85 private int skinColor;
86
87 public Appearance(final Gender gender, final int head, final int beard, final int torso, final int arms, final int hands, final int legs, final int feet, int hairColor, int torsoColor, int legsColor, int feetColor, int skinColor) {
88 this.gender = gender;
89 this.head = head;
90 this.beard = beard;
91 this.torso = torso;
92 this.arms = arms;
93 this.hands = hands;
94 this.legs = legs;
95 this.feet = feet;
96 this.hairColor = hairColor;
97 this.torsoColor = torsoColor;
98 this.legsColor = legsColor;
99 this.feetColor = feetColor;
100 this.skinColor = skinColor;
101 }
102
106 public int getArms() {
107 return arms;
108 }
109
113 public int getFeet() {
114 return feet;
115 }
116
120 public Gender getGender() {
121 return gender;
122 }
123
127 public int getHands() {
128 return hands;
129 }
130
134 public int getHead() {
135 return head;
136 }
137
141 public int getBeard() {
142 return beard;
143 }
144
148 public int getLegs() {
149 return legs;
150 }
151
155 public int getTorso() {
156 return torso;
157 }
158
163 public void setArms(final int arms) {
164 this.arms = arms;
165 }
166
171 public void setFeet(final int feet) {
172 this.feet = feet;
173 }
174
179 public void setGender(final Gender gender) {
180 this.gender = gender;
181 }
182
187 public void setHands(final int hands) {
188 this.hands = hands;
189 }
190
195 public void setHead(final int head) {
196 this.head = head;
197 }
198
203 public void setJaw(final int beard) {
204 this.beard = beard;
205 }
206
211 public void setLegs(final int legs) {
212 this.legs = legs;
213 }
214
219 public void setTorso(final int torso) {
220 this.torso = torso;
221 }
222
226 public int getHairColor() {
227 return hairColor;
228 }
229
234 public void setHairColor(int hairColor) {
235 this.hairColor = hairColor;
236 }
237
241 public int getTorsoColor() {
242 return torsoColor;
243 }
244
249 public void setTorsoColor(int torsoColor) {
250 this.torsoColor = torsoColor;
251 }
252
256 public int getLegsColor() {
257 return legsColor;
258 }
259
264 public void setLegsColor(int legsColor) {
265 this.legsColor = legsColor;
266 }
267
271 public int getFeetColor() {
272 return feetColor;
273 }
274
279 public void setFeetColor(int feetColor) {
280 this.feetColor = feetColor;
281 }
282
286 public int getSkinColor() {
287 return skinColor;
288 }
289
294 public void setSkinColor(int skinColor) {
295 this.skinColor = skinColor;
296 }
297
298 @Override
299 public String toString() {
300 return String.format("[gen= %s] [head= %d] [jaw= %d] [tor= %d] [arm= %d] [han= %d] [leg= %d] [feet= %d]", getGender().name().toLowerCase(), getHead(), getBeard(), getTorso(), getArms(), getHands(), getLegs(), getFeet());
301 }
302
303}