public static void ShowSuperGlue(Contraption contraption, Type type) { if (type == Glue.Type.None) { return; } if (contraption.CurrentGlue != Glue.Type.None || contraption.CurrentGlue != type) { Glue.RemoveSuperGlue(contraption); } Glue.ShowSuperGlue(contraption, type, contraption.Parts); }
public static void RemoveSuperGlue(Contraption contraption) { Glue.RemoveSuperGlue(contraption.Parts); }