Created
November 6, 2016 09:16
-
-
Save raduGaspar/80586c0e5eaffdd42f9418ca0f9089c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { SquareModel, SquareCtrl, SquareView } from './square'; | |
| import { Game, Scene } from '../engine'; | |
| require('../../scss/styles.scss'); | |
| const scene = new Scene(20, 33, 400, 200); | |
| const game = new Game(scene); | |
| const squareModel = new SquareModel(); | |
| const squareCtrl = new SquareCtrl(squareModel); | |
| const squareView = new SquareView(squareModel, squareCtrl); | |
| scene.add([ | |
| squareView, | |
| ]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment