Rooms, items and some player stuff

This commit is contained in:
2021-11-04 20:58:37 +01:00
parent 36bb9264b3
commit a745ff299e
277 changed files with 14665 additions and 5 deletions

17
test/index.js Normal file
View File

@@ -0,0 +1,17 @@
const room = {
name: "A room",
onEnter() {
console.log("I entered");
return "meow";
},
onExit() {
console.log("I exited");
}
}
async function start() {
await room.onEnter();
await room.onExit();
}
start();