C# Class MoodSwingGame.MSCircularPicker

Inheritance: MoodSwingGUI.MSPanel
显示文件 Open project: verngutz/MoodSwing

Protected Properties

Property Type Description
bucksIcon MSImageHolder
gingerBreadManIcon MSImageHolder
selected MSBuilding
selectedEffect Microsoft.Xna.Framework.Graphics.Effect

Public Methods

Method Description
MSCircularPicker ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, MSBuilding selected, Color highlight, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MSCircularPicker ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, MSBuilding selected, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MSCircularPicker ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, float topPadding, float bottomPadding, float leftPadding, float rightPadding, MSBuilding selected, Color highlight, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MSCircularPicker ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, float topPadding, float bottomPadding, float leftPadding, float rightPadding, MSBuilding selected, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
UnhighlightSelected ( ) : void

Protected Methods

Method Description
AddMiddleOrb ( ) : void
AddSelection ( string title, string description, MSBuildingStats stats, Rectangle boundingRectangle, Microsoft.Xna.Framework.Graphics.Texture2D unhoveredTexture, Microsoft.Xna.Framework.Graphics.Texture2D clickedTexture, Microsoft.Xna.Framework.Graphics.Texture2D hoveredTexture ) : void
AddSelection ( string title, string description, MSBuildingStats stats, Rectangle boundingRectangle, Microsoft.Xna.Framework.Graphics.Texture2D unhoveredTexture, Microsoft.Xna.Framework.Graphics.Texture2D clickedTexture, Microsoft.Xna.Framework.Graphics.Texture2D hoveredTexture, Alignment alignment ) : void

Method Details

AddMiddleOrb() protected method

protected AddMiddleOrb ( ) : void
return void

AddSelection() protected method

protected AddSelection ( string title, string description, MSBuildingStats stats, Rectangle boundingRectangle, Microsoft.Xna.Framework.Graphics.Texture2D unhoveredTexture, Microsoft.Xna.Framework.Graphics.Texture2D clickedTexture, Microsoft.Xna.Framework.Graphics.Texture2D hoveredTexture ) : void
title string
description string
stats MSBuildingStats
boundingRectangle Microsoft.Xna.Framework.Rectangle
unhoveredTexture Microsoft.Xna.Framework.Graphics.Texture2D
clickedTexture Microsoft.Xna.Framework.Graphics.Texture2D
hoveredTexture Microsoft.Xna.Framework.Graphics.Texture2D
return void

AddSelection() protected method

protected AddSelection ( string title, string description, MSBuildingStats stats, Rectangle boundingRectangle, Microsoft.Xna.Framework.Graphics.Texture2D unhoveredTexture, Microsoft.Xna.Framework.Graphics.Texture2D clickedTexture, Microsoft.Xna.Framework.Graphics.Texture2D hoveredTexture, Alignment alignment ) : void
title string
description string
stats MSBuildingStats
boundingRectangle Microsoft.Xna.Framework.Rectangle
unhoveredTexture Microsoft.Xna.Framework.Graphics.Texture2D
clickedTexture Microsoft.Xna.Framework.Graphics.Texture2D
hoveredTexture Microsoft.Xna.Framework.Graphics.Texture2D
alignment Alignment
return void

MSCircularPicker() public method

public MSCircularPicker ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, MSBuilding selected, Color highlight, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D
boundingRectangle Microsoft.Xna.Framework.Rectangle
selected MSBuilding
highlight Color
shape Shape
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
return System

MSCircularPicker() public method

public MSCircularPicker ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, MSBuilding selected, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D
boundingRectangle Microsoft.Xna.Framework.Rectangle
selected MSBuilding
shape Shape
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
return System

MSCircularPicker() public method

public MSCircularPicker ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, float topPadding, float bottomPadding, float leftPadding, float rightPadding, MSBuilding selected, Color highlight, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D
boundingRectangle Microsoft.Xna.Framework.Rectangle
topPadding float
bottomPadding float
leftPadding float
rightPadding float
selected MSBuilding
highlight Color
shape Shape
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
return System

MSCircularPicker() public method

public MSCircularPicker ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, float topPadding, float bottomPadding, float leftPadding, float rightPadding, MSBuilding selected, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D
boundingRectangle Microsoft.Xna.Framework.Rectangle
topPadding float
bottomPadding float
leftPadding float
rightPadding float
selected MSBuilding
shape Shape
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
return System

UnhighlightSelected() public method

public UnhighlightSelected ( ) : void
return void

Property Details

bucksIcon protected_oe property

protected MSImageHolder bucksIcon
return MSImageHolder

gingerBreadManIcon protected_oe property

protected MSImageHolder gingerBreadManIcon
return MSImageHolder

selected protected_oe property

protected MSBuilding,MoodSwingGame selected
return MSBuilding

selectedEffect protected_oe property

protected Effect,Microsoft.Xna.Framework.Graphics selectedEffect
return Microsoft.Xna.Framework.Graphics.Effect