Example #1
0
 public static Resistor BuildResistor(float column, float platformLevel, Resistor.Type index)
 {
     var temp = GetMap();
     return BuildResistor(column, platformLevel, index, ref temp);
 }
Example #2
0
 public static Resistor BuildResistor(Pointf position, Resistor.Type index)
 {
     var temp = GetMap();
     return BuildResistor(position, index, ref temp);
 }
Example #3
0
 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);
 }
Example #4
0
 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;
 }