Click or drag to resize

SpriteController Constructor

Overload List
  NameDescription
Public methodCode exampleSpriteController(PictureBox)
Create a sprite controller, specifying the picturebox on which the sprites will be displayed. You want to have the PictureBox already defined, and a background image already set for the PictureBox.
Public methodCode exampleSpriteController(PictureBox, SpriteDatabase)
Create a sprite controller, specifying the picturebox on which the sprites will be displayed. You want to have the PictureBox already defined, and a background image already set for the PictureBox. This constructor also uses a SpriteDatabase, which loads sprite definitions at construction time, and has tools for making and storing sprites.
Public methodCode exampleSpriteController(PictureBox, EventHandler)
Create a sprite controller, specifying the picturebox on which the sprites will be displayed.
Top
See Also