Search:

Type: Posts; User: finalfantasyfreak15

Search: Search took 0.09 seconds.

  1. Re: arraylists to store coordinates for a snake applet

    Hi,

    I'm sorry I've been posting so much code, but I did get the arraylist set up. My new problem is how to get the different coordinates of the new pieces to be different. (The most recent,...
  2. Re: arraylists to store coordinates for a snake applet

    package assignment04;

    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Point;
    import java.awt.event.ComponentEvent;
    import...
  3. Re: arraylists to store coordinates for a snake applet

    ok so i've figured out how to get the array going. it adds new coordinate data for new pieces, unfortunately it is using the exact same coordinates for every piece so they are being drawn right on...
  4. Re: arraylists to store coordinates for a snake applet

    Oh no! I'm sorry I didn't format my code properly...I've read the announcement and here is my code again with the proper formatting. Sorry.



    package assignment04;

    import java.awt.Color;...
  5. arraylists to store coordinates for a snake applet

    Hi,

    I'm trying to make a snake game for my CS class, but I can't figure out how to use an arraylist to store the x and y coordinates. I was thinking I should use two lists; one for x and one for...
Results 1 to 5 of 5