Call LinkMany Link and UnlinkMany Unlink

This commit is contained in:
Sebastian Dröge 2009-05-28 14:06:41 +02:00
parent 5e1cc54a37
commit c77fa39ad1

View file

@ -10,7 +10,7 @@ public bool AddPad (Pad p) {
return ret;
}
public static bool LinkMany (params Element [] elements) {
public static bool Link (params Element [] elements) {
for (int i = 0; i < elements.Length - 1; i++) {
if (!elements[i].Link (elements[i+1]))
return false;
@ -19,7 +19,7 @@ public static bool LinkMany (params Element [] elements) {
return true;
}
public static void UnlinkMany (params Element [] elements) {
public static void Unlink (params Element [] elements) {
for (int i = 0; i < elements.Length - 1; i++) {
elements[i].Unlink (elements[i+1]);
}