Class cocos.tiles.ScrollableLayer

layer.Layer --+
              |
             ScrollableLayer

A Cocos Layer that is scrollable in a Scene.

Scrollable layers have a view which identifies the section of the layer currently visible.

The scrolling is usually managed by a ScrollingManager.

Methods

  __init__(self)
  set_view(self, x, y, w, h)
  draw(self)

Class Variables

  origin_z = 0
  origin_y = 0
  origin_x = 0