Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
        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);
        }