C# Class Terraria.GameContent.UI.Elements.UIImageButton

Inheritance: Terraria.UI.UIElement
Afficher le fichier Open project: EmuDevs/EDTerraria Class Usage Examples

Méthodes publiques

Méthode Description
MouseOver ( UIMouseEvent evt ) : void
SetImage ( Texture2D texture ) : void
SetVisibility ( float whenActive, float whenInactive ) : void
UIImageButton ( Texture2D texture ) : Microsoft.Xna.Framework

Méthodes protégées

Méthode Description
DrawSelf ( SpriteBatch spriteBatch ) : void

Method Details

DrawSelf() protected méthode

protected DrawSelf ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

MouseOver() public méthode

public MouseOver ( UIMouseEvent evt ) : void
evt Terraria.UI.UIMouseEvent
Résultat void

SetImage() public méthode

public SetImage ( Texture2D texture ) : void
texture Texture2D
Résultat void

SetVisibility() public méthode

public SetVisibility ( float whenActive, float whenInactive ) : void
whenActive float
whenInactive float
Résultat void

UIImageButton() public méthode

public UIImageButton ( Texture2D texture ) : Microsoft.Xna.Framework
texture Texture2D
Résultat Microsoft.Xna.Framework