C# Class MoodSwingCoreComponents.MS2DComponent

MS2DComponent is a two-dimensional DrawableGameComponent with a bounding Rectangle
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
显示文件 Open project: verngutz/MoodSwing

Protected Properties

Property Type Description
boundingRectangle Microsoft.Xna.Framework.Rectangle
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch

Public Methods

Method Description
MS2DComponent ( Rectangle boundingRectangle, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MS2DComponent ( Vector2 position, Vector2 size, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System

Method Details

MS2DComponent() public method

public MS2DComponent ( Rectangle boundingRectangle, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
boundingRectangle Microsoft.Xna.Framework.Rectangle
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
return System

MS2DComponent() public method

public MS2DComponent ( Vector2 position, Vector2 size, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
position Vector2
size Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
return System

Property Details

boundingRectangle protected_oe property

protected Rectangle,Microsoft.Xna.Framework boundingRectangle
return Microsoft.Xna.Framework.Rectangle

spriteBatch protected_oe property

protected SpriteBatch,Microsoft.Xna.Framework.Graphics spriteBatch
return Microsoft.Xna.Framework.Graphics.SpriteBatch