examples: add entity counting
This commit is contained in:
parent
3e2e29539b
commit
645cd7cb2a
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ function TestScene:draw()
|
|||
love.graphics.rectangle("fill", 0, 0, 424, 240)
|
||||
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
love.graphics.print(math.floor(self.i) .. " ; " .. self.mouse.x .. ":" .. self.mouse.y, 16, 16)
|
||||
love.graphics.print(math.floor(self.i) .. " ; " .. self.mouse.x .. ":" .. self.mouse.y .. ":" .. self.world:countActors(), 16, 16)
|
||||
|
||||
if self.estImpair then
|
||||
self.assets.images["debris"]:draw(16, 32)
|
||||
|
|
Loading…
Reference in a new issue