breaking: remove observable pattern, make methods return events directly
This commit is contained in:
@ -64,4 +64,13 @@ public class NPC extends Entity {
|
||||
}
|
||||
return clone;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "NPC{" +
|
||||
"mp=" + mp +
|
||||
", inventory=" + inventory +
|
||||
", position=" + position +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user