Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix #43

  • Loading branch information...
commit 2ed12600159323834d4a15651bfd59ca619edce9 1 parent 51c81e0
ippa authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/chingu/game_states/enter_name.rb
6 lib/chingu/game_states/enter_name.rb
View
@@ -63,7 +63,7 @@ def initialize(options = {})
end
end
- @texts[@index].color = Color::RED
+ @texts[@index].color = ::Gosu::Color::RED
@name = Text.create("", :rotaion_center => :top_center, :x => $window.width/2, :y => 60, :size => 80)
end
@@ -94,8 +94,8 @@ def move_cursor(amount = 1)
new_value = @index + amount
@index = new_value if new_value < @letters.size && new_value >= 0
- @texts.each { |text| text.color = Color::WHITE }
- @texts[@index].color = Color::RED
+ @texts.each { |text| text.color = ::Gosu::Color::WHITE }
+ @texts[@index].color = ::Gosu::Color::RED
sleep(0.15)
end
Please sign in to comment.
Something went wrong with that request. Please try again.