OSDN Git Service

とりあえずコミット
[chemicraft/chemicraft.git] / common / chemicraft / ChemiCraftTabs.java
1 package chemicraft;
2
3 public class ChemiCraftTabs {
4
5         /**
6          * tabのID
7          */
8         private int id;
9
10         /**
11          * tabにOverlayするTextureID
12          */
13         private int texture;
14
15
16
17         /**
18          * tabの名前
19          */
20         private String tabName;
21
22         public ChemiCraftTabs(int id, int texture, String tabName){
23                 this.id = id;
24                 this.texture = texture;
25                 this.tabName = tabName;
26         }
27
28
29
30         /**
31          * tabのIDを返します
32          * @return tabのID
33          */
34         public int getID(){
35                 return this.id;
36         }
37
38
39
40         /**
41          * tabにOverlayするTextureIDを返します
42          * @return tabにOverlayするTextureID
43          */
44         public int getTexture(){
45                 return this.texture;
46         }
47
48
49
50         /**
51          * tabの名前を返します
52          * @return tabの名前
53          */
54         public String getTabName(){
55                 return this.tabName;
56         }
57
58 }