OSDN Git Service
(root)
/
chemicraft
/
chemicraft.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
修正・変更
[chemicraft/chemicraft.git]
/
common
/
pcc
/
chemicraft
/
ChemiCraftConfiguration.java
1
package pcc.chemicraft;
2
3
/**
4
* @author mozipi
5
*/
6
public class ChemiCraftConfiguration {
7
8
/**
9
* the Now ID.
10
*/
11
private int nowID;
12
13
public ChemiCraftConfiguration(int baseID) {
14
this.nowID = baseID;
15
}
16
17
/**
18
* 現在のIDを取得します。
19
* @return 現在のID
20
*/
21
public int getNowID() {
22
return this.nowID;
23
}
24
25
/**
26
* IDを1つ追加します
27
* @return 追加後のID
28
*/
29
public int additionID() {
30
return ++this.nowID;
31
}
32
33
}