Class: Phaser::Rectangle

Inherits:
Object
  • Object
show all
Includes:
Native
Defined in:
lib/opal/phaser/geometry/rectangle.rb

Class Method Summary collapse

Class Method Details

.new(x, y, w, h) ⇒ Object



5
6
7
# File 'lib/opal/phaser/geometry/rectangle.rb', line 5

def self.new(x, y, w, h)
  `new Phaser.Rectangle(x, y, w, h)`
end