Class: Highlight

Inherits:
Chingu::GameObject
  • Object
show all
Defined in:
lib/games_paradise/gui/gosu/chinguroids/objects.rb

Overview

HIGHLIGHT

called in OpeningCredits gamestate (Gosu logo)

Instance Method Summary collapse

Instance Method Details

#setupObject



365
366
367
# File 'lib/games_paradise/gui/gosu/chinguroids/objects.rb', line 365

def setup
  @image = Image["media/assets/highlight.png"]
end

#updateObject



368
369
370
# File 'lib/games_paradise/gui/gosu/chinguroids/objects.rb', line 368

def update
  @x += 5
end