Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @package "App", ->
- @package "Game", ->
- class @Main
- constructor : (@val) ->
- toString : '[object Main]'
- class @Map
- toString : '[object Map]'
- class @Test
- toString : '[object Test]'
- Sandbox = @module ->
- private = 10
- @fire = ( event ) =>
- # ...
- App.Sandbox.fire('load')
- new App.Game.Main( 10 )
- new App.Game.Map
- App.Test::fire = ( ev ) ->
- App.Sandbox.fire( ev )
- wth App.Sandbox, ->
- value = 42
- @toString = ->
- value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement