From dcaa318d677a1a6881ccc87640ae75c0fc578bfb Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Mon, 2 Nov 2015 06:55:15 +0100 Subject: Initial --- src/objects/obj_hoi.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/objects/obj_hoi.cpp (limited to 'src/objects/obj_hoi.cpp') diff --git a/src/objects/obj_hoi.cpp b/src/objects/obj_hoi.cpp new file mode 100644 index 0000000..fe3c3f1 --- /dev/null +++ b/src/objects/obj_hoi.cpp @@ -0,0 +1,11 @@ +EVENT(create){ + x=y=10; +} + +EVENT(step){ + x++; +} + +EVENT(draw){ + draw_text(x,y,"yay!"); +} -- cgit v1.2.3-70-g09d2