Test done

This commit is contained in:
SrdjanPaunovic
2017-05-03 13:21:13 +02:00
parent 645e91ed23
commit 678524704c
14 changed files with 192 additions and 4 deletions

View File

@ -13,4 +13,9 @@ public class Commander implements CommanderExtension {
public Commander(CommanderUnit commanderUnit) {
this.unit = commanderUnit;
}
@Override
public void commanderReady() {
System.out.println("[Commander] " + unit.getName() + " is ready!");
}
}

View File

@ -16,6 +16,6 @@ public class Sergeant implements SergeantExtension {
@Override
public void sergeantReady() {
System.out.println("[Sergeant] " + unit.getName() + " do command! ");
System.out.println("[Sergeant] " + unit.getName() + " is ready! ");
}
}

View File

@ -16,6 +16,6 @@ public class Soldier implements SoldierExtension {
@Override
public void soldierReady() {
System.out.println("[Solider] " + unit.getName() + " do command");
System.out.println("[Solider] " + unit.getName() + " is ready!");
}
}