Skip to content

Commit

Permalink
Updated __neighbours doc
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Jan 15, 2024
1 parent 089d11a commit 9f1dd57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ldtk/Json.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1519,8 +1519,9 @@ typedef NeighbourLevel = {
var ?levelUid: Int;

/**
A single lowercase character tipping on the level location (`n`orth, `s`outh, `w`est, `e`ast).
Since 1.4.0, this character value can also be `<` (neighbour depth is lower), `>` (neighbour depth is greater) or `o` (levels overlap and share the same world depth).
A lowercase string tipping on the level location (`n`orth, `s`outh, `w`est, `e`ast).
Since 1.4.0, this value can also be `<` (neighbour depth is lower), `>` (neighbour depth is greater) or `o` (levels overlap and share the same world depth).
Since 1.5.3, this value can also be `nw`,`ne`,`sw` or `se` for levels only touching corners.
**/
@changed("1.4.0")
var dir: String;
Expand Down

0 comments on commit 9f1dd57

Please sign in to comment.