Advertisement
Guest User

Untitled

a guest
Apr 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. void main(void)
  2. {
  3. OBJECT* p = &ball;
  4. init_app();
  5. graphic_initialize();
  6.  
  7. #ifndef SIMULATOR
  8. graphic_clear_screen();
  9. #endif
  10.  
  11. p->set_speed(p, 4, 1);
  12. while(1){
  13. p->move(p);
  14. delay_milli(40);
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement