/ld28

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

« back to all changes in this revision

Viewing changes to goal_person.lua

  • Committer: Josh C
  • Date: 2013-12-15 02:54:06 UTC
  • Revision ID: josh@9ix.org-20131215025406-l1gkpunh7xkmxlaq
and a player "graphic"

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
                  end
31
31
 
32
32
                  if other == the.player then
33
 
                     if the.view.level == 1 then
34
 
                        the.app.view = GameView:new{level = 2}
35
 
                     elseif the.view.level == 2 then
36
 
                        the.app.view = GameView:new{level = 3}
37
 
                     elseif the.view.level == 3 then
38
 
                        error('WIN!')
39
 
                     end
 
33
                     error('WIN!')
40
34
                  end
41
35
               end
42
36
}
 
 
b'\\ No newline at end of file'