summaryrefslogtreecommitdiff
path: root/entity.lua
diff options
context:
space:
mode:
authorcursed22bc <admin@pixeldawn.org>2026-03-09 12:58:53 +0200
committercursed22bc <admin@pixeldawn.org>2026-03-09 12:58:53 +0200
commitfa90ee5c494ef7db5c779fe7eec33d6312237f9b (patch)
tree5b52c6aeb97ac411ad230344a32a49b2ddf31382 /entity.lua
parent97d0d1ecc0cfd5516cfad2d477faa4d35992e7ba (diff)
missing texture shader
Diffstat (limited to 'entity.lua')
-rw-r--r--entity.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/entity.lua b/entity.lua
index 34e37f0..b0c146a 100644
--- a/entity.lua
+++ b/entity.lua
@@ -9,6 +9,7 @@ function Entity:new(x, y, width, height, physicsWidth, physicsHeight)
self.height = height
self.physicsWidth = physicsWidth or width
self.physicsHeight = physicsHeight or height
+ self.texture = love.graphics.newImage("assets/missing.png")
return self
end