Props are now collectible;

Props logic refractor;
maze coordinates cleanup
This commit is contained in:
2026-03-28 18:09:58 +00:00
parent e42b31ec24
commit 045200bf9f
10 changed files with 122 additions and 41 deletions
+13
View File
@@ -0,0 +1,13 @@
require_relative "base"
class Radar < Prop
def initialize(x, y)
super(x, y)
@frames_count = 4
@spritesheet = Gosu::Image.load_tiles("assets/images/radar.png", 20, 20, retro: true)
end
def resources
{ wood: rand(0..2), metal: rand(0..8), science: rand(0..2) }
end
end