This file contains 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
################################################################################ | |
# script: Base.coffee | |
# author: Ryan Florence <rpflorence@gmail.com> | |
# license: MIT-Style License | |
# | |
# A surprisingly useful base class for CoffeeScript. Inspired by my old | |
# friend, MooTools Class. Provides default options, mixins, and custom events. | |
class Base | |
defaults: {} |
This file contains 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
class Game extends Phaser.Game | |
constructor: -> | |
super 800, 600, Phaser.AUTO | |
@state.add 'Stage', Stage, false | |
@state.start 'Stage' | |
class Stage extends Phaser.State |
This file contains 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
{ | |
"name": "webapp", | |
"version": "0.0.0", | |
"dependencies": {}, | |
"devDependencies": { | |
"grunt": "~0.4.1", | |
... | |
"bower": "" | |
}, | |
"engines": { |