코드 수정

This commit is contained in:
2020-05-01 18:24:05 +09:00
parent ef5dd47604
commit c8d2050c7a
11 changed files with 63 additions and 157 deletions
-4
View File
@@ -334,19 +334,16 @@ class WarUnit{
function getHP():int{
throw new NotInheritedMethodException();
return 0;
}
function decreaseHP(int $damage):int{
$this->dead += $damage;
throw new NotInheritedMethodException();
return 0;
}
function increaseKilled(int $damage):int{
$this->killed += $damage;
throw new NotInheritedMethodException();
return 0;
}
function calcDamage():int{
@@ -376,6 +373,5 @@ class WarUnit{
function applyDB(\MeekroDB $db):bool{
throw new MustNotBeReachedException('Must be WarUnitCity or WarUnitGeneral');
return false;
}
}