Fix issue #18: Invalid code example in readme

This commit is contained in:
Matthias Richter 2013-07-30 11:56:55 +02:00
parent f368ffa73c
commit 1c89692f1d

View File

@ -1643,7 +1643,7 @@ to table `b` (see second example).
-- make Spaceship collidable
Spaceship:include(Collidable)
function Spaceship:collision_handler["Spaceship"](other, dx, dy)
Spaceship.collision_handler["Spaceship"] = function(self, other, dx, dy)
-- ...
end