/traderous

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

« 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:
3
3
 
4
4
require 'zoetrope'
5
5
--__ = require 'underscore'
6
 
vector = require 'vector'
7
6
 
8
7
require 'version'
9
8
require 'player'
10
9
require 'enemy'
11
10
require 'cursor'
12
 
require 'bullet'
13
11
 
14
12
util = {
15
13
   signOf = function(value)
38
36
 
39
37
              self:add(Enemy:new{x=400, y=300})
40
38
 
41
 
              the.cursor = Cursor:new()
42
 
              self:add(the.cursor)
 
39
              self:add(Cursor:new())
43
40
 
44
41
              love.mouse.setGrab(true)
45
42
              love.mouse.setVisible(false)