add methods to Game to access players by name
This commit is contained in:
@@ -3,7 +3,7 @@ class Hunter {
|
||||
this.position = 0;
|
||||
}
|
||||
|
||||
move(amount) {
|
||||
move_by(amount) {
|
||||
this.position += amount;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user