Skip to content

Commit

Permalink
Change the keys for Game.map.describeExits to be actual directions
Browse files Browse the repository at this point in the history
  • Loading branch information
tiennou committed Feb 2, 2025
1 parent 1f73abf commit bb8b744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2042,7 +2042,7 @@ declare const InterShardMemory: InterShardMemory;

type Terrain = "plain" | "swamp" | "wall";

type ExitKey = "1" | "3" | "5" | "7";
type ExitKey = TOP | RIGHT | BOTTOM | LEFT;

type AnyCreep = Creep | PowerCreep;

Expand Down
2 changes: 1 addition & 1 deletion src/literals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

type Terrain = "plain" | "swamp" | "wall";

type ExitKey = "1" | "3" | "5" | "7";
type ExitKey = TOP | RIGHT | BOTTOM | LEFT;

type AnyCreep = Creep | PowerCreep;

Expand Down

0 comments on commit bb8b744

Please sign in to comment.