diff options
author | Aki <nthirtyone@gmail.com> | 2017-04-05 18:43:14 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-04-05 18:43:14 +0200 |
commit | 8e11bf89f1abe547c30f7d5ac39bf0d7ed555f7e (patch) | |
tree | 669d36f990176531c6687924a2a9f64f3068fc3b /not/Player.lua | |
parent | 5c51b6e4d39bc55887f94dc65e58fd1765d86c1c (diff) | |
download | roflnauts-8e11bf89f1abe547c30f7d5ac39bf0d7ed555f7e.zip roflnauts-8e11bf89f1abe547c30f7d5ac39bf0d7ed555f7e.tar.gz roflnauts-8e11bf89f1abe547c30f7d5ac39bf0d7ed555f7e.tar.bz2 |
Some of World's create methods are now following new parameter orders of entities constructors
Diffstat (limited to 'not/Player.lua')
-rw-r--r-- | not/Player.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Player.lua b/not/Player.lua index 373505d..5fc2adc 100644 --- a/not/Player.lua +++ b/not/Player.lua @@ -12,7 +12,7 @@ setmetatable(Player, Hero) -- Constructor of `Player`. -- TODO: I'm sure it is a duplicate, but `not.World.create*` methods need to pass proper parameters. -function Player:new (game, world, x, y, name) +function Player:new (name, game, x, y) local o = setmetatable({}, self) o:init(name, game, x, y) -- Load portraits statically to `not.Hero`. |