Class: Phaser::Physics::Arcade::Body

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

Instance Method Summary collapse

Instance Method Details

#collide_world_bounds=(bool) ⇒ Object



37
38
39
# File 'lib/opal/phaser/physics/physics.rb', line 37

def collide_world_bounds=(bool)
  `#@native.collideWorldBounds = bool`
end

#immovable=(bool) ⇒ Object



41
42
43
# File 'lib/opal/phaser/physics/physics.rb', line 41

def immovable=(bool)
  `#@native.immovable = bool`
end