/ld26

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-04-28 23:14:19 UTC
  • Revision ID: josh@9ix.org-20130428231419-930dlct49eh71pr8
gate

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
                 if not the.inventory.items[obj.name] then
33
33
                    self:add(obj)
34
34
                 end
35
 
                 if obj.name == 'flag' then
36
 
                    self:add(obj)
37
 
                 end
38
35
              end
39
36
 
40
37
              --self:add(Fill:new{x=100,y=100,width=25,height=25,fill={255,255,255}})
72
69
              end
73
70
 
74
71
              --the.inventory:add(Flag:new())
75
 
              the.inventory:add(Fairy:new())
76
72
           end,
77
73
   onUpdate = function (self, dt)
78
74
                 if the.keys:justPressed('escape') then