lua/wrappers/game/lua_tile.cpp
/**
	 * Removes a tile type from the list of tile types.
	 * If a type is not in the list, it will be ignored.
	 * 
	 * @param string... tile_type_name The name of the tile type to remove from the list.
	 * @returns am.tile This
	 */
Removes a tile type from the list of tile types.
If a type is not in the list, it will be ignored.

@param string... tile_type_name The name of the tile type to remove from the list.
Removes a tile type from the list of tile types . If a type is not in the list it will be ignored . @param string ... tile_type_name The name of the tile type to remove from the list .
int Tile_remove_tile_type(lua_State *lua)
	{
		Tile *tile = castUData<Tile>(lua, 1);
		if (tile)
		{
			int args = lua_gettop(lua);
			for (int i = 2; i <= args; i++)
			{
				base::Handle<TileType> tileType(getTileType(lua, 2));
				if (tileType)
				{
					tile->removeTileType(tileType);
				}
				lua_first(lua);
			}
			return LuaState::expectedArgs(lua, "remove_tile_type", "am.tile_type/string... tile_type");
		}
		return LuaState::expectedContext(lua, "remove_tile_type", "am.tile");
	}
int Tile_remove_tile_type ( lua_State * lua ) { Tile * tile = castUData < Tile > ( lua , 1 ) ; if ( tile ) { int args = lua_gettop ( lua ) ; for ( int i = 2 ; i <= args ; i ++ ) { base :: Handle < TileType > tileType ( getTileType ( lua , 2 ) ) ; if ( tileType ) { tile -> removeTileType ( tileType ) ; } lua_first ( lua ) ; } return LuaState :: expectedArgs ( lua , " " , " " ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Removes a tile type from the list of tile types.
Removes a tile type from the list of tile types .