aboutsummaryrefslogtreecommitdiff
path: root/src/java/help_class.java
blob: 3410c7090f406a3575749e3ee30cb6f1b74b3baa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import com.cycling74.max.*;

public class help_class extends MaxObject {
	int attr1;
	
	public help_class() {
		declareOutlets(new int[] { DataTypes.FLOAT, DataTypes.ALL });
	}
	
	public void inlet(float x) {
		outlet(0, x);
	}
	
	public void bang() {
		outlet(1, "BANG! received");
	}
	
	public void callme(Atom args[]) {
		outlet(1, "callme has called with arg1:" + args[0].toString());
	}

	public void dynamic_method() {
		outlet(1, "dynamic_method has been called");
	}

}