lua/wrappers/game/lua_tile.cpp
/**
	 * Creates a new tile object with the given name and full name, 
	 * the name need only be unique within its tile set.
	 * Full name differs in that it is the name that is presented to the user.
	 *
	 * @param string name The name of the tile.
	 * @param string full_name The full name of the tile.
	 */
Creates a new tile object with the given name and full name,
the name need only be unique within its tile set.
Full name differs in that it is the name that is presented to the user.

@param string name The name of the tile.
@param string full_name The full name of the tile.
Creates a new tile object with the given name and full name the name need only be unique within its tile set . Full name differs in that it is the name that is presented to the user . @param string name The name of the tile . @param string full_name The full name of the tile .
int Tile_ctor(lua_State *lua)
	{
		int args = lua_gettop(lua);
		if (args == 1 && lua_isstr(lua, 1))
		{
			Tile *tile = new Tile(lua_tostring(lua, 1));
			wrapRefObject<Tile>(lua, tile);
			return 1;
		}
		else if (args == 2 && lua_isstr(lua, 1) && lua_isstr(lua, 2))
		{
			Tile *tile = new Tile(lua_tostring(lua, 1), lua_tostring(lua, 2));
			wrapRefObject<Tile>(lua, tile);
			return 1;
		}
		return LuaState::expectedArgs(lua, "@new", 2, "string name", "string name, string full_name");
	}
int Tile_ctor ( lua_State * lua ) { int args = lua_gettop ( lua ) ; if ( args == 1 && lua_isstr ( lua , 1 ) ) { Tile * tile = new Tile ( lua_tostring ( lua , 1 ) ) ; wrapRefObject < Tile > ( lua , tile ) ; return 1 ; } else if ( args == 2 && lua_isstr ( lua , 1 ) && lua_isstr ( lua , 2 ) ) { Tile * tile = new Tile ( lua_tostring ( lua , 1 ) , lua_tostring ( lua , 2 ) ) ; wrapRefObject < Tile > ( lua , tile ) ; return 1 ; } return LuaState :: expectedArgs ( lua , " " , 2 , " " , " " ) ; }
Creates a new tile object with the given name and full name,
 the name need only be unique within its tile set.
Creates a new tile object with the given name and full name the name need only be unique within its tile set .