public void AddMethod(int inlet, Symbol sel, MethodFloat d) { DynamicMethodFloat dyn = DynamicMethods.Create(d); if (inlet == 0 && sel == _float) { m_float = dyn; methodflags |= MethodFlags.f_float; } else { AddMethodIntern(inlet, sel, Kind.k_float, dyn); } }
public static void Remove(string name, MethodFloat method, params object[] targets) { Events.Remove(name, (object)method, targets); }
public static EventListener AddLimited(string name, MethodFloat method, int amount = 1, params object[] targets) { return(Events.Add(name, (object)method, amount, targets)); }
public static EventListener Add(string name, MethodFloat method, params object[] targets) { return(Events.Add(name, (object)method, -1, targets)); }
public ActionFloat(MethodFloat method) { _method = method; }
protected static void AddMethod(int inlet, string sel, MethodFloat m) { AddMethod(inlet, new Symbol(sel), m); }
protected static void AddMethod(MethodFloat m) { AddMethod(0, m); }
protected static void AddMethod(int inlet, MethodFloat m) { AddMethod(inlet, _float, m); }
protected static void AddMethod(int inlet, Symbol sel, MethodFloat m) { ((External)m.Target).klass.AddMethod(inlet, sel, m); }
protected static void AddMethod(int inlet, string sel, MethodFloat m) { AddMethod(inlet, new Symbol(sel), m); }
protected static void AddMethod(MethodFloat m) { AddMethod(0, m); }
protected static void AddMethod(int inlet, MethodFloat m) { AddMethod(inlet, _float, m); }
protected static void AddMethod(int inlet, Symbol sel, MethodFloat m) { ((External)m.Target).klass.AddMethod(inlet, sel, m); }
public void AddMethod(int inlet, Symbol sel, MethodFloat d) { DynamicMethodFloat dyn = DynamicMethods.Create(d); if (inlet == 0 && sel == _float) { m_float = dyn; methodflags |= MethodFlags.f_float; } else AddMethodIntern(inlet, sel, Kind.k_float, dyn); }