Class: PIXI::Mesh::Rope
- Inherits:
-
Mesh
- Object
- DisplayObject
- Container
- Mesh
- PIXI::Mesh::Rope
- Includes:
- Native
- Defined in:
- lib/opal/pixi/mesh/rope.rb
Instance Method Summary collapse
-
#initialize(texture, points) ⇒ Rope
constructor
A new instance of Rope.
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 |