C# Class Descent.GUI.Image

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

Méthodes publiques

Méthode Description
Image ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System.Diagnostics.Contracts

Creates an Image with the given texture.

Method Details

Image() public méthode

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.
Résultat System.Diagnostics.Contracts