Class: PIXI::Mesh::Rope

Inherits:
Mesh show all
Includes:
Native
Defined in:
lib/opal/pixi/mesh/rope.rb

Instance Method Summary collapse

Methods inherited from Container

#add_child, new, #x, #x=, #y, #y=

Constructor Details

#initialize(texture, points) ⇒ Rope

Returns a new instance of Rope.



7
8
9
# File 'lib/opal/pixi/mesh/rope.rb', line 7

def initialize(texture, points)
  super(`new PIXI.mesh.Rope(#{texture.to_n}, #{points.to_n})`)
end