class MultimediaParadise::GUI::VideoPlayer
Constants
- HEIGHT
#¶ ↑
HEIGHT
¶ ↑#¶ ↑
- NAMESPACE
#¶ ↑
NAMESPACE
¶ ↑#¶ ↑
- TITLE
#¶ ↑
TITLE
¶ ↑#¶ ↑
- WIDTH
#¶ ↑
WIDTH
¶ ↑#¶ ↑
Public Class Methods
Public Instance Methods
draw()
click to toggle source
reset()
click to toggle source
#¶ ↑
reset (reset tag)¶ ↑
#¶ ↑
# File lib/multimedia_paradise/gui/gosu/video_player/video_player.rb, line 50 def reset # ======================================================================= # # === @song # ======================================================================= # @song = Gosu::Song.new( '/home/x/songs/Youtube2008_Soundmix.mp3' ) @song.play # ======================================================================= # # === @font # ======================================================================= # @font = set_font(:hack_30) # ======================================================================= # # === @available_songs # ======================================================================= # @available_songs = Dir['/home/x/songs/**'] end
run()
click to toggle source