diff --git a/collects/htdch/idraw/World-native-methods.ss b/collects/htdch/idraw/World-native-methods.ss index 515ded9235..217c06ccf7 100644 --- a/collects/htdch/idraw/World-native-methods.ss +++ b/collects/htdch/idraw/World-native-methods.ss @@ -117,5 +117,9 @@ (define/provide (endOfTime-native this accs gets privates) (end-of-time) - (void)) + this) + + (define/provide (endOfWorld-native this accs gets privates) + (end-of-time) + this) ) diff --git a/collects/htdch/idraw/World.java b/collects/htdch/idraw/World.java index 70eb6316c1..38651ce2e8 100644 --- a/collects/htdch/idraw/World.java +++ b/collects/htdch/idraw/World.java @@ -6,7 +6,9 @@ public abstract class World { public native void bigBang(int width, int height, double s); - public native void endOfTime(); + public native World endOfTime(); + + public native World endOfWorld(); public abstract void onTick();