Viromancer

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

102 Neutral

About Viromancer

  • Rank
    Newbie
  1. [Java] Draw something more than once?

    There's a couple issues here. If your bullet is its own class, with its own update method, you need to call that method every tick on every bullet, not just when the space bar key is pressed. One way to achieve this would be to maintain an array of all bullets currently created. Then iterate through that array and call each bullet's update method every tick. This also means you should set the velocity as a property of the bullet object.