simpleturtle.h

Go to the documentation of this file.
00001 
00016 #ifndef _SIMPLETURTLE_H_
00017 #define _SIMPLETURTLE_H_
00018 
00019 #include "../jnilib.h"
00020 #include "../graphic/color.h"
00021 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025 
00026 void initSimpleTurtle(const char* classpath, const char* title, jint framewidth, jint frameheight);
00027 void forward(jfloat l);
00028 void backward(jfloat l);
00029 void left(jfloat angle);
00030 void right(jfloat angle);
00031 void penUp();
00032 void penDown();
00033 void print(const char* text);
00034 void setColor(Color c);
00035 void setBGColor(Color c);
00036 void clearScreen();
00037 void waitForClosingFrame();
00038 
00039 #ifdef __cplusplus
00040 } /* extern "C" */
00041 #endif
00042 
00043 #endif /* _SIMPLETURTLE_H_ */
00044 
00045 /* end of file simpleturtle.h */

Generated on Sat Nov 19 14:11:12 2005 for GrubC by  doxygen 1.4.4