Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java ME Drawing multiple dynamic Sprites on GameCanvas

 
Guy Dor
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to draw on GameCanvas multiple dynamic Sprites such as gun shots. I have 2 main classes:GameCanvas and GameController GameController holds a Vector of my gun shots.

GameCanvas has an access to GameController's Vector of Sprite and it also has a render() method which draws Sprites on screen.



LayerManager holds all the Sprites I want to draw.

How can I draw all objects in GameController's Vector on screen?

Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic