 
 
 
-  drawConstellation: (numStars, starsArray) ->
+  drawConstellation: (level) ->
+    level.name
+    for star in level.starsArray
+        @add.sprite star.x, star.y, 'star'
+
 
 
 module.exports = Game

LEVELS = [
  {
    name: 'The Plough',
    numStars: 7,
    starsArray: [
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
    ]
  },
  {
    name: 'The Plough',
    numStars: 7,
    starsArray: [
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
    ]
  },
  {
    name: 'The Plough',
    numStars: 7,
    starsArray: [
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
        {x: 200, y: 200},
    ]
  },
]



    @game.add.sprite 0, 0, 'Plough'
    @star = @add.sprite @starx, @stary, 'star'
    @player = @add.sprite x, y, 'player'

    #Plot empty stars
    @drawConstellation(LEVELS[2])

    #setup game input/output
    @input.onDown.add @onInputDown, this
