Constructor

@:value({ event : null })new (type:String, tile:Tile, ?event:Event)

Variables

event:Event

tile:Tile

Static variables

@:value("touchBeginTile")staticinlineread onlyTOUCH_BEGIN_TILE:String = "touchBeginTile"

@:value("touchEndTile")staticinlineread onlyTOUCH_END_TILE:String = "touchEndTile"

@:value("touchMoveTile")staticinlineread onlyTOUCH_MOVE_TILE:String = "touchMoveTile"

@:value("touchThrough")staticinlineread onlyTOUCH_THROUGH:String = "touchThrough"

由于瓦片是相当于一块儿画布,会直接挡住下面需要穿透的对象,这时会发布一个穿透事件进行使用 穿透事件会附带event对象