Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neki-dev committed Mar 21, 2024
1 parent 6b380ac commit f3ddd07
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ await city.generate(params?)
```
| Param | Description | Default |
| ------|-------------|---------|
| `mode` | Generation mode (`Runtime` or `Seed`) | `Runtime` |
| `mode` | Generation mode.<br>* `Runtime` - Random generation in runtime<br>* `Seed` - Generation follows the specified seed | Runtime |
| `seed` | Generation seed array for seed mode | - |
| `startPosition` | Start generation position | Center of map |
| `startPosition` | Position of the first node. | Center of map |
| `startDirections` | Start generation directions | Left, Right, Top, Bottom |
| `streetMinLength` | Street length before generating an intersection or turn | 10 |
| `probabilityIntersection` | Probability of generating intersection | 0.1 |
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{
"name": "gen-city",
"description": "Procedural generation city",
"version": "1.4.2",
"version": "1.4.3",
"keywords": [
"map",
"generation",
"steet",
"tilemap",
"city",
"procedural",
"2d"
"2d",
"random",
"town"
],
"license": "MIT",
"author": {
Expand Down

0 comments on commit f3ddd07

Please sign in to comment.