lua/wrappers/game/lua_game_object.cpp
/**
	 * Removes a tile type from the list of passible tiles.
	 * @param am.tile_type tile_type The tile type to remove.
	 * @returns am.GameObject This
	 */
Removes a tile type from the list of passible tiles.
@param am.tile_type tile_type The tile type to remove.
Removes a tile type from the list of passible tiles . @param am . tile_type tile_type The tile type to remove .
int GameObject_remove_passible_type(lua_State *lua, GameObject *obj)
	{
		if (!obj)
		{
			return 0;
		}
		TileType *tileType = nullptr;
		if (getTileType(lua, 2, tileType))
		{
			obj->removePassibleType(tileType);
			lua_first(lua);
		}
		return LuaState::expectedArgs(lua, "remove_passible_type", "am.tile_type tile_type");
	}
int GameObject_remove_passible_type ( lua_State * lua , GameObject * obj ) { if ( ! obj ) { return 0 ; } TileType * tileType = nullptr ; if ( getTileType ( lua , 2 , tileType ) ) { obj -> removePassibleType ( tileType ) ; lua_first ( lua ) ; } return LuaState :: expectedArgs ( lua , " " , " " ) ; }
Removes a tile type from the list of passible tiles.
Removes a tile type from the list of passible tiles .
/*base::Handle<TileType> type(castUData<TileType>(lua, 2));
		if (type)
		{
			obj->removePassibleType(type);
			lua_first(lua);
		}*/