Method: UI::Point#initialize
- Defined in:
- lib/ektoplayer/ui.rb
#initialize(x: 0, y: 0) ⇒ Point
Returns a new instance of Point.
211 212 213 |
# File 'lib/ektoplayer/ui.rb', line 211 def initialize(x: 0, y: 0) @x, @y = x, y end |
Returns a new instance of Point.
211 212 213 |
# File 'lib/ektoplayer/ui.rb', line 211 def initialize(x: 0, y: 0) @x, @y = x, y end |