refactor(slay-the-spire-like): rename getNeighborItems to

getAdjacentItems
This commit is contained in:
2026-04-21 23:22:19 +08:00
parent 113d240f71
commit 270b9b744e
5 changed files with 5 additions and 5 deletions
@@ -42,7 +42,7 @@ function createRunContext(
const item = items.get(id);
return item?.meta?.itemData ?? null;
},
getNeighborItems(_id: string): Iterable<string> {
getAdjacentItems(_id: string): Iterable<string> {
return [];
},
getConsumedUses(id: string): number {
@@ -162,7 +162,7 @@ function getTriggers(): Triggers {
getItemData() {
return null;
},
*getNeighborItems() {},
*getAdjacentItems() {},
async setConsumedUsesAsync() {},
};
const triggers = createTriggers(run);