Comparing Multiple Items
I apologize for my ignorance, but I've gone through stackoverflow array
element comparison topics, but none of them really have what I need.
I'm programming in java.
My problem is that I need to compare multiple items in an ArrayList,
however I can't seem to figure out how to draw images where the ArrayItem
is.
Like I have an Item in arraylist with an x and y, and in my main activity
class, I try to do
g.getImage(picturename, ArrayItem.x, ArrayItem.y, this);
It asks me to change the items x and y to static.
If someone could point me in the correct way, thanks.
No comments:
Post a Comment