public static void QuickSetWall(this ModWall wall, int dustType, int soundType, int drop, bool safe, Color mapColor) { wall.dustType = dustType; wall.soundType = soundType; wall.drop = drop; Main.wallHouse[wall.Type] = safe; wall.AddMapEntry(mapColor); }
public static void SimpleWall(this ModWall wall, int drop, int soundType, int dustType, Color mapColor, bool house = false) { Main.wallHouse[wall.Type] = house; wall.drop = drop; wall.soundType = soundType; wall.dustType = dustType; wall.AddMapEntry(mapColor); }