質問編集履歴
1
サンプルコード書き間違えてました
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
class ShopRegister_Old : BaseShopRegister{
|
32
32
|
|
33
|
-
protected override
|
33
|
+
protected override uint CalcTax(uint cost){
|
34
34
|
|
35
35
|
return cost * 1.05f;
|
36
36
|
|
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
class ShopRegister_New : BaseShopRegister{
|
44
44
|
|
45
|
-
protected override
|
45
|
+
protected override uint CalcTax(uint cost){
|
46
46
|
|
47
47
|
return cost * 1.10f;
|
48
48
|
|