Property | Type | Description | |
---|---|---|---|
backgroundImage | Sprite |
Method | Description | |
---|---|---|
BackgroundIsClicked ( ) : bool | ||
Draw ( |
||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, string buttonTextureName, string backgroundTextureName ) : void | ||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, string buttonTextureName, string backgroundTextureName, int maxNumOfFrames, int maxNumOfFrameSets ) : void | ||
MouseOverBackground ( ) : bool | ||
SlideIfClicked ( ) : void |
Essentially an update function. Check if slider is clicked, and if so, make it slide as the mouse moves.
|
|
SliderButton ( Sprite loadedSprite, Sprite loadedBackground, int minSliderValue, int maxSliderValue, int startingValue ) : Microsoft.Xna.Framework.Content | ||
SliderButton ( Sprite loadedSprite, int minSliderValue, int maxSliderValue, int startingValue ) : Microsoft.Xna.Framework.Content | ||
SliderButton ( int minSliderValue, int maxSliderValue, int startingValue ) : Microsoft.Xna.Framework.Content |
public Draw ( |
||
spriteBatch | ||
return | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, string buttonTextureName, string backgroundTextureName ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
buttonTextureName | string | |
backgroundTextureName | string | |
return | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, string buttonTextureName, string backgroundTextureName, int maxNumOfFrames, int maxNumOfFrameSets ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
buttonTextureName | string | |
backgroundTextureName | string | |
maxNumOfFrames | int | |
maxNumOfFrameSets | int | |
return | void |
public SliderButton ( Sprite loadedSprite, Sprite loadedBackground, int minSliderValue, int maxSliderValue, int startingValue ) : Microsoft.Xna.Framework.Content | ||
loadedSprite | Sprite | |
loadedBackground | Sprite | |
minSliderValue | int | |
maxSliderValue | int | |
startingValue | int | |
return | Microsoft.Xna.Framework.Content |
public SliderButton ( Sprite loadedSprite, int minSliderValue, int maxSliderValue, int startingValue ) : Microsoft.Xna.Framework.Content | ||
loadedSprite | Sprite | |
minSliderValue | int | |
maxSliderValue | int | |
startingValue | int | |
return | Microsoft.Xna.Framework.Content |
public SliderButton ( int minSliderValue, int maxSliderValue, int startingValue ) : Microsoft.Xna.Framework.Content | ||
minSliderValue | int | |
maxSliderValue | int | |
startingValue | int | |
return | Microsoft.Xna.Framework.Content |