Files
mist/game/props/radar.rb
T
syedm 045200bf9f Props are now collectible;
Props logic refractor;
maze coordinates cleanup
2026-03-28 18:09:58 +00:00

13 lines
292 B
Ruby

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