質問編集履歴
1
各setter/getterを書き直しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,13 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
//getter
|
21
|
+
//getter入力中の内容をテンプレートとして保存
|
22
|
+
|
23
|
+
プレビュー
|
24
|
+
|
25
|
+
閉じる
|
26
|
+
|
27
|
+
タイトルの書き方
|
22
28
|
|
23
29
|
public int getWeapon() {
|
24
30
|
|
@@ -112,6 +118,66 @@
|
|
112
118
|
|
113
119
|
}
|
114
120
|
|
121
|
+
public String getName() {
|
122
|
+
|
123
|
+
return name;
|
124
|
+
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
public void setName(String name) {
|
130
|
+
|
131
|
+
this.name = name;
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
public int getHp() {
|
138
|
+
|
139
|
+
return hp;
|
140
|
+
|
141
|
+
}
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
public void setHp(int hp) {
|
146
|
+
|
147
|
+
this.hp = hp;
|
148
|
+
|
149
|
+
}
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
public int getAc() {
|
154
|
+
|
155
|
+
return Ac;
|
156
|
+
|
157
|
+
}
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
public void setAc(int Ac) {
|
162
|
+
|
163
|
+
this.Ac = Ac;
|
164
|
+
|
165
|
+
}
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
public int getDf() {
|
170
|
+
|
171
|
+
return Df;
|
172
|
+
|
173
|
+
}
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
public void setDf(int Df) {
|
178
|
+
|
179
|
+
this.Df = Df;
|
180
|
+
|
115
181
|
}
|
116
182
|
|
117
183
|
}
|