posted 12 years ago
i create a player and i want him to shoot bullet. i understand the logic but i need some help with it. my bullet will just be rect in paint method.
logic:
create bullet class
store in arraylist
print in paint method
in bullet class i set the variables:
Bullet.java
this is the code where i need help. how to print bullets from arraylist.