Module: RTanque::Gui

Defined in:
lib/rtanque/gui.rb,
lib/rtanque/gui/bot.rb,
lib/rtanque/gui/shell.rb,
lib/rtanque/gui/window.rb,
lib/rtanque/gui/explosion.rb,
lib/rtanque/gui/draw_group.rb,
lib/rtanque/gui/bot/health_color_calculator.rb

Defined Under Namespace

Modules: ZOrder Classes: Bot, DrawGroup, Explosion, Shell, Window

Constant Summary

RESOURCE_DIR =
File.expand_path('../../../resources', __FILE__)

Class Method Summary collapse

Class Method Details

.resource_path(*components) ⇒ Object



4
5
6
# File 'lib/rtanque/gui.rb', line 4

def self.resource_path(*components)
  File.join(RESOURCE_DIR, *components)
end