Just talking out loud here and hope someone can assist?
Say I have a sprite class which has a new method which takes the image path to load it into its internal bmpImage property and a draw method which uses this property to draw on screen.
Now this would work fine for a sprite with a single image. But what of sprites with multiple images?
Would I need to redefine my sprite class to hold and array of bitmaps or should I leave it as is and the answer is to have an array of sprites?
Try to get my head around this to produce an animated spaceship rotating 360 degress.
Thnx
Say I have a sprite class which has a new method which takes the image path to load it into its internal bmpImage property and a draw method which uses this property to draw on screen.
Now this would work fine for a sprite with a single image. But what of sprites with multiple images?
Would I need to redefine my sprite class to hold and array of bitmaps or should I leave it as is and the answer is to have an array of sprites?
Try to get my head around this to produce an animated spaceship rotating 360 degress.
Thnx