Jump To …

player.coffee

this is a work in progress... just wanted a little placeholder here...

class Player

  constructor: (game) ->
    @game = game
    @coins = 10000
    @name = ''
    @load()

  load: ->
    @name = 'Thom'

  addCoins: (value)->
    @coins += value