add move speed

This commit is contained in:
2024-12-22 17:00:23 +09:00
parent 69343821b6
commit 14212afd70
4 changed files with 8 additions and 3 deletions
+2
View File
@@ -12,10 +12,12 @@ export default class Game {
get eventEmitter() { return this.#eventEmitter }
get system() { return this.#system }
get tickBudget() { return this.#tickBudget }
spawn_entity(entity) {
this.entities.push(entity)
this.#system.insert(entity.collider)
entity.game = this
}
async start() {