Class: GamesAndRpgParadise::Highlight

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

Overview

HIGHLIGHT

called in OpeningCredits gamestate (Gosu logo)

Instance Method Summary collapse

Instance Method Details

#setupObject



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

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

#updateObject



371
372
373
# File 'lib/games_and_rpg_paradise/gui/gosu/chinguroids/objects.rb', line 371

def update
  @x += 5
end