|
-
December 7th, 2010, 04:52 AM
#1
Detect a mouse click on specific entity in an arrayList
Hi,
Im a beginner in Java and I'm creating a simple game. I have an arrayList of entities (cars in my case), I need to be able to detect a mouse click on an individual object (car) in the array. I need to do this so I can change the speed of the car if it has been pressed. Im not sure how to go about doing this, hope somebody can help me out here.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|