Exemple #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="tileset"></param>
 /// <param name="tilemap"></param>
 /// <returns></returns>
 public bool Setup(Tileset tileset, Tilemap tilemap)
 {
     return TLN_SetLayer(index, tileset.ptr, tilemap.ptr);
 }
Exemple #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="srcRow"></param>
 /// <param name="srcCol"></param>
 /// <param name="rows"></param>
 /// <param name="cols"></param>
 /// <param name="dst"></param>
 /// <param name="dstRow"></param>
 /// <param name="dstCol"></param>
 /// <returns></returns>
 public bool CopyTiles(int srcRow, int srcCol, int rows, int cols, Tilemap dst, int dstRow, int dstCol)
 {
     return TLN_CopyTiles(ptr, srcRow, srcCol, rows, cols, dst.ptr, dstRow, dstCol);
 }