aboutsummaryrefslogtreecommitdiff
path: root/Counter/Counter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Counter/Counter.cs')
-rwxr-xr-xCounter/Counter.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Counter/Counter.cs b/Counter/Counter.cs
index b59945e..13688e5 100755
--- a/Counter/Counter.cs
+++ b/Counter/Counter.cs
@@ -23,7 +23,8 @@ public class Counter:
}
// this function MUST exist
- private static void Setup(Counter obj)
+ // returns void or ClassType
+ private static ClassType Setup(Counter obj)
{
Add(new MethodBang(obj.MyBang));
Add(new MethodFloat(obj.MyFloat));
@@ -34,6 +35,7 @@ public class Counter:
Add(new MethodAnything(obj.MyAnything));
Post("Count.Main");
+ return ClassType.Default;
}
protected virtual void MyBang()