/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-06-19 02:01:02 UTC
  • Revision ID: josh@9ix.org-20130619020102-gw53ss3mrq8gjiud
add enemy state switch

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
              self:add(the.indicators)
119
119
              self:add(the.interface)
120
120
 
121
 
              for _ = 1, math.random(3, 6) do
 
121
              for _ = 1, math.random(6) do
122
122
                 local planet = Planet:new{
123
123
                    x = math.random(the.app.width / 2,
124
124
                                    the.bg.width - the.app.width / 2),