breaking: remove observable pattern, make methods return events directly

This commit is contained in:
2021-06-01 15:43:04 +02:00
parent 4802b0113d
commit 842db2439a
6 changed files with 92 additions and 92 deletions

View File

@ -64,4 +64,13 @@ public class NPC extends Entity {
}
return clone;
}
@Override
public String toString() {
return "NPC{" +
"mp=" + mp +
", inventory=" + inventory +
", position=" + position +
'}';
}
}