Class cocos.tiles.Cell

object --+
         |
        Cell

Base class for cells from rect and hex maps.

Common attributes:
i, j -- index of this cell in the map width, height -- dimensions properties -- arbitrary properties cell -- cell from the MapLayer's cells

Methods

  __init__(self, i, j, width, height, properties, tile)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __repr__(self)
repr(x)
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__

(Constructor) __init__(self, i, j, width, height, properties, tile)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
object.__init__

__repr__

(Representation operator) __repr__(self)
repr(x)
Overrides:
object.__repr__