Simplify types

This commit is contained in:
schmelczerandras 2020-10-06 14:08:43 +02:00
parent 6eddb4834b
commit ba8b1a29fd
30 changed files with 52 additions and 76 deletions

View file

@ -35,7 +35,7 @@ export class Player extends CommandReceiver {
},
};
protected defaultCommandExecutor(command: Command) {}
protected defaultCommandExecutor(command: Command) { }
constructor(
private readonly objects: PhysicalContainer,
@ -118,6 +118,7 @@ export class Player extends CommandReceiver {
public destroy() {
this.isActive = false;
this.character.destroy();
this.objects.removeObject(this.character);
}
}