refactor: remove rest POIs from map generation, persistence, and client rendering

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-03-09 17:58:02 +00:00
parent b76ce16cba
commit 65ee23c5be
10 changed files with 8 additions and 44 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ export interface WorldState {
worldHeight: number;
tileSize: number;
obstacles: Position[];
pointsOfInterest: { type: 'food' | 'rest'; position: Position }[];
pointsOfInterest: { type: 'food'; position: Position }[];
terrain: number[]; // flat array [y * width + x], terrain type per tile
decorations: number[]; // flat array [y * width + x], decoration tile index (-1 = none)
trunkDecorations: number[]; // flat array [y * width + x], trunk tile index (-1 = none)