public static Resistor BuildResistor(float column, float platformLevel, Resistor.Type index) { var temp = GetMap(); return BuildResistor(column, platformLevel, index, ref temp); }
public static Resistor BuildResistor(Pointf position, Resistor.Type index) { var temp = GetMap(); return BuildResistor(position, index, ref temp); }
public static Resistor BuildResistor(float column, float platformLevel, Resistor.Type index, ref MapModel map) { platformLevel--; platformLevel += 0.05f; return BuildResistor(GetPointForColumnAndLevel(column, platformLevel), index, ref map); }
public static Resistor BuildResistor(Pointf position, Resistor.Type index, ref MapModel map) { Resistor res = new Resistor(map.Game, position, index); map.AddComponent(res); return res; }