Skip to content

Commit

Permalink
Fix layers option in TiledScene
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdionysus committed Apr 23, 2020
1 parent 2a7a224 commit a920914
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Tenkai is a set of ES2015 classes designed to be complied to a JS application fo

### `npm` Package Documentation

* Tenkai[tomdionysus.github.io/tenkai](https://tomdionysus.github.io/tenkai/) for documentation.
* `tenkai` [tomdionysus.github.io/tenkai](https://tomdionysus.github.io/tenkai/)
2 changes: 2 additions & 0 deletions lib/TiledScene.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class TiledScene extends Scene {
// The perspective mode for the TiledScene
this.perspectiveMode = options.perspectiveMode || TiledScene.PERSPECTIVE_OVERHEAD

this.layers = options.layers || {}

this.redraw()
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tenkai",
"version": "0.1.1",
"version": "0.1.2",
"main": "index.js",
"scripts": {
"start": "node index.js",
Expand Down

0 comments on commit a920914

Please sign in to comment.