Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryDuncan committed Feb 6, 2018
1 parent f05fa7e commit 7072956
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/using-asset-loader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { gamestate, State } from "../../state"
import { manager, Tween } from "../../tween"
import keyboard from "../../keyboard"
import World from "../../world"
import { assets, loader} from "../../asset-loader"
import { assets, loader } from "../../asset-loader"

/*
In this example:
Expand All @@ -16,7 +16,7 @@ import { assets, loader} from "../../asset-loader"
Additionally, you can move the map with the keyboard
*/

manager.mount()

const world = new World(suki.renderer)
world.center()

Expand Down
2 changes: 0 additions & 2 deletions examples/using-keyboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import keyboard from "../../keyboard"
Additionally, we print out all keys that have been pressed
*/

manager.mount()

const state = new State({

name: "play-game",
Expand Down
2 changes: 0 additions & 2 deletions examples/using-tweens/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import { manager, Tween } from "../../tween"
we then use click events to create a tween that moves the square to the click location
*/

manager.mount()

let square = {
x: 50,
y: 50,
Expand Down

0 comments on commit 7072956

Please sign in to comment.