lua/wrappers/game/lua_tile.cpp
/**
	 * Removes a transitional tile graphic.
	 *
	 * The optional overlap_tile defines if this transitional graphic should only be used
	 * when overlapping the specific overlap_tile. An overlap tile of nil indicates default overlap.
	 *
	 * @param string asset_name The name of the asset to remove form transitional overlapping.
	 * @param am.tile [nil] overlap_tile When not nil, defines the specific tile to remove the asset from.
	 *  Otherwise it is removed from all overlappings.
	 * @returns am.tile This
	 */
Removes a transitional tile graphic.
The optional overlap_tile defines if this transitional graphic should only be used
when overlapping the specific overlap_tile. An overlap tile of nil indicates default overlap.

@param string asset_name The name of the asset to remove form transitional overlapping.
@param am.tile [nil] overlap_tile When not nil, defines the specific tile to remove the asset from.
Otherwise it is removed from all overlappings.
Removes a transitional tile graphic . The optional overlap_tile defines if this transitional graphic should only be used when overlapping the specific overlap_tile . An overlap tile of nil indicates default overlap . @param string asset_name The name of the asset to remove form transitional overlapping . @param am . tile [ nil ] overlap_tile When not nil defines the specific tile to remove the asset from . Otherwise it is removed from all overlappings .
int Tile_remove_transitional(lua_State *lua)
	{
		Tile *tile = castUData<Tile>(lua, 1);
		if (tile)
		{
			Tile *overlapTile = castUData<Tile>(lua, 3);
			if (lua_isstr(lua, 2))
			{
				tile->removeTransitionalAsset(lua_tostring(lua, 2), overlapTile);
				lua_first(lua);
			}
			Asset *asset = castUData<Asset>(lua, 2);
			if (asset)
			{
				tile->removeTransitionalAsset(asset, overlapTile);
				lua_first(lua);
			}
			return LuaState::expectedArgs(lua, "remove_transitional", 2, "string asset_name, am.tile [nil] overlap_tile", "am.asset asset, am.tile [nil] overlap_tile");
		}
		return LuaState::expectedContext(lua, "remove_transitional", "am.tile");
	}
int Tile_remove_transitional ( lua_State * lua ) { Tile * tile = castUData < Tile > ( lua , 1 ) ; if ( tile ) { Tile * overlapTile = castUData < Tile > ( lua , 3 ) ; if ( lua_isstr ( lua , 2 ) ) { tile -> removeTransitionalAsset ( lua_tostring ( lua , 2 ) , overlapTile ) ; lua_first ( lua ) ; } Asset * asset = castUData < Asset > ( lua , 2 ) ; if ( asset ) { tile -> removeTransitionalAsset ( asset , overlapTile ) ; lua_first ( lua ) ; } return LuaState :: expectedArgs ( lua , " " , 2 , " " , " " ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Removes a transitional tile graphic.
Removes a transitional tile graphic .