C# Class Descent.GUI.Image

The simplest possible Drawable that only implements the interface.
Inheritance: Drawable
Mostrar archivo Open project: nezbo/Descent Class Usage Examples

Public Methods

Method Description
Image ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System.Diagnostics.Contracts

Creates an Image with the given texture.

Method Details

Image() public method

Creates an Image with the given texture.
public Image ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System.Diagnostics.Contracts
texture Microsoft.Xna.Framework.Graphics.Texture2D The texture that the Image should hold.
return System.Diagnostics.Contracts