Feature: Implement and test clear target functionality for player start actions

This commit is contained in:
2026-04-27 15:55:36 +02:00
parent d09c550ffe
commit 715f819f76
8 changed files with 386 additions and 132 deletions

View File

@@ -63,12 +63,12 @@ describe("player-input-bindings interact input", () => {
}
});
expect(resolvePlayerStartInteractInput(new Set(["MouseLeft"]), bindings, [])).toBe(
0
);
expect(resolvePlayerStartInteractInput(new Set(["KeyE"]), bindings, [])).toBe(
1
);
expect(
resolvePlayerStartInteractInput(new Set(["MouseLeft"]), bindings, [])
).toBe(0);
expect(
resolvePlayerStartInteractInput(new Set(["KeyE"]), bindings, [])
).toBe(1);
});
it("resolves the authored gamepad interact binding from the standard west button", () => {