module Rubots
  module Graphics
    class Assets
      PEW_SOUND = "media/pew.wav"
      ROBOT_IMG = "media/robot.png"
      GUN_IMG   = "media/gun.png"
      DEAD_IMG  = "media/deadbot.png"
    end
  end
end

module Rubots
  module Graphics
    class Assets
      MEDIA_DIR = File.join(File.dirname(__FILE__), '..', '..', '..', 'media')
      PEW_SOUND = File.join(MEDIA_DIR, "pew.wav")
      ROBOT_IMG = File.join(MEDIA_DIR, "robot.png")
      GUN_IMG   = File.join(MEDIA_DIR, "gun.png")
      DEAD_IMG  = File.join(MEDIA_DIR, "deadbot.png")
    end
  end
end

Make sure asset routes are absolute, so we can load them when it's a gem
Make sure asset routes are absolute, so we can load them when it's a gem
