Method: HighScore#initialize
- Defined in:
- lib/menuitem.rb
#initialize(x, y, window) ⇒ HighScore
Returns a new instance of HighScore.
53 54 55 56 |
# File 'lib/menuitem.rb', line 53 def initialize(x, y, window) super(x, y, window) @text = 'High Score' end |