for Loop for my 2D collision not working??
Hey, i'm not sure if the problem is with the for loop or because of my system used for this.... bascily i have a collision thingy that checks if i have touched the floor of my 2d Scroller game. although it only checks w/e is last in the ArrayList, so if i have 5 tiles, it will only detect collision in whicher is last in the arrayList of them, very strange...well here is my code (btw, im adding the Tile class aswell, just incase sum1 thinks the problem is somthing else, and not the loop...)
Board.class: (the loop/collision stuff)
Java | package Game; import java - Anonymous - seHtUHvB - Pastebin.com
Tile.cass: (the tile object thingy majiggy)
Java | package Game; import java.a - Anonymous - zHDxCBF6 - Pastebin.com
If anyone can help me out with this...that wuld be awesome!1
P.S.
and if anyone would like to earn a "bit" of extra cash, Personal Message me ur msn/Xfire details, later in the week im getting some money in my bank and i can give anyone money that will help me with any problem i encounter, (i will put money on paypal if its needed)
-thanks!
Re: for Loop for my 2D collision not working??