Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main(void)
- {
- OBJECT* p = &ball;
- init_app();
- graphic_initialize();
- #ifndef SIMULATOR
- graphic_clear_screen();
- #endif
- p->set_speed(p, 4, 1);
- while(1){
- p->move(p);
- delay_milli(40);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement