summaryrefslogtreecommitdiff
path: root/src/objects/obj_control.cpp
blob: 8c150873ff9b5cd339b485cddfc04d35c98f881a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
EVENT(create){
	x=y=10;
	draw_text(42,42,"Control object wow!");
}

EVENT(step){
	x++;
}

EVENT(draw){
	draw_text(x,y,"yay!");
}