API Docs for: 0.1.0
Show:

CG.MapPoint Class

Extends CG.Class
Module: CG

CG.MapPoint. Support now for name, gid and x/y-position values. No tilemap properties at the moment.


                        var s = new CG.MapPoint({
                          name: '',                            // name of the tile
                          position: new CG.Point(200,200),     // position point
                          mapOffset: new CG.Point(100,100),    // mapoffset reference to the current map position
                          gid: 10                              // gid number of tilemap editor
                        })
                        

Item Index

Methods

Methods

init

(
  • options
)

Options: name {string} position {CG.Point} mapOffset {CG.Point} gid {Number}

Parameters:

Returns:

: