lab6 some minor fixes
This commit is contained in:
parent
a7d0e609db
commit
74284dde17
@ -72,7 +72,7 @@ public class ExtensionDrawingShip {
|
|||||||
if(!(ship instanceof EntityBattleship)){
|
if(!(ship instanceof EntityBattleship)){
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
return String.format("%s%c%s%c%b%c%b%", str, separatorForObject,
|
return String.format("%s%c%s%c%b%c%b", str, separatorForObject,
|
||||||
getColorName(((EntityBattleship) ship).getAdditionalColor()), separatorForObject,
|
getColorName(((EntityBattleship) ship).getAdditionalColor()), separatorForObject,
|
||||||
((EntityBattleship) ship).getTurret(), separatorForObject,
|
((EntityBattleship) ship).getTurret(), separatorForObject,
|
||||||
((EntityBattleship) ship).getRocketLauncher());
|
((EntityBattleship) ship).getRocketLauncher());
|
||||||
|
Loading…
Reference in New Issue
Block a user