Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public String[] imageNames()
- {
- String[] images = {"roomba_up.png","roomba_down.png","roomba_left.png","roomba_right.png"};
- return images;
- }
- /**
- * Store the loaded images
- */
- public void loadedImages(Image[] images)
- {
- if (images != null)
- {
- current = up = images[0];
- down = images[1];
- left = images[2];
- right = images[3];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement