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 Jan 25, 2025
1 parent 3c1b1b2 commit c477256
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 @@ -2068,7 +2068,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 c477256

Please sign in to comment.