#508 fix SpaceStationMir logging
This commit is contained in:
parent
633d45aa67
commit
195a735814
@ -45,7 +45,7 @@ public class SpaceStationMir extends GameObject {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collisionResolve(FlamingAsteroid asteroid) {
|
public void collisionResolve(FlamingAsteroid asteroid) {
|
||||||
LOGGER.info(AppConstants.HITS, " {} is damaged! {} is set on fire!", asteroid.getClass()
|
LOGGER.info(AppConstants.HITS + " {} is damaged! {} is set on fire!", asteroid.getClass()
|
||||||
.getSimpleName(),
|
.getSimpleName(),
|
||||||
this.getClass().getSimpleName(), this.getClass().getSimpleName(), this.getClass()
|
this.getClass().getSimpleName(), this.getClass().getSimpleName(), this.getClass()
|
||||||
.getSimpleName());
|
.getSimpleName());
|
||||||
@ -55,14 +55,14 @@ public class SpaceStationMir extends GameObject {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collisionResolve(Meteoroid meteoroid) {
|
public void collisionResolve(Meteoroid meteoroid) {
|
||||||
LOGGER.info(AppConstants.HITS, " {} is damaged!", meteoroid.getClass().getSimpleName(),
|
LOGGER.info(AppConstants.HITS + " {} is damaged!", meteoroid.getClass().getSimpleName(),
|
||||||
this.getClass().getSimpleName(), this.getClass().getSimpleName());
|
this.getClass().getSimpleName(), this.getClass().getSimpleName());
|
||||||
setDamaged(true);
|
setDamaged(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collisionResolve(SpaceStationMir mir) {
|
public void collisionResolve(SpaceStationMir mir) {
|
||||||
LOGGER.info(AppConstants.HITS, " {} is damaged!", mir.getClass().getSimpleName(),
|
LOGGER.info(AppConstants.HITS + " {} is damaged!", mir.getClass().getSimpleName(),
|
||||||
this.getClass().getSimpleName(), this.getClass().getSimpleName());
|
this.getClass().getSimpleName(), this.getClass().getSimpleName());
|
||||||
setDamaged(true);
|
setDamaged(true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user