-
Notifications
You must be signed in to change notification settings - Fork 9
/
NameTextSqr.java
52 lines (50 loc) · 1.12 KB
/
NameTextSqr.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package net.minecraft.src;
public class NameTextSqr {
private EnumNamePostion postion=EnumNamePostion.LEFT;
private String charaName=null;
private int textColor=COLOR_DEFAULT;
public static final int COLOR_DEFAULT=0xffffff;
public static final int COLOR_MOB=0x79CDCD;
public static final int COLOR_PLAYER=0x7B68EE;
/**
* @return the postion
*/
public EnumNamePostion getPostion() {
return postion;
}
/**
* @param postion the postion to set
*/
public void setPostion(EnumNamePostion postion) {
this.postion = postion;
}
/**
* @return the charaName
*/
public String getCharaName() {
return charaName;
}
/**
* @param charaName the charaName to set
*/
public void setCharaName(String charaName) {
this.charaName = charaName;
}
public void Clear(){
this.charaName=null;
this.postion=EnumNamePostion.LEFT;
textColor=this.COLOR_DEFAULT;
}
/**
* @return the textColor
*/
public int getTextColor() {
return textColor;
}
/**
* @param textColor the textColor to set
*/
public void setTextColor(int textColor) {
this.textColor = textColor;
}
}