/spacey

To get this branch, use:
bzr branch http://9ix.org/bzr/spacey

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-05-05 17:28:21 UTC
  • Revision ID: josh@9ix.org-20130505172821-t5ba218dz1pkjois
ignore deploy dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
require 'version'
8
8
require 'player'
9
9
require 'enemy'
 
10
require 'cursor'
10
11
 
11
12
util = {
12
13
   signOf = function(value)
35
36
 
36
37
              self:add(Enemy:new{x=400, y=300})
37
38
 
 
39
              self:add(Cursor:new())
 
40
 
38
41
              love.mouse.setGrab(true)
39
 
              --love.mouse.setVisible(false)
 
42
              love.mouse.setVisible(false)
40
43
 
41
44
              --self:loadLayers('data/map.lua')
42
45
              self.focus = the.player