C# Class MOTB.Button

Mostrar archivo Open project: GCGC-Ben/GameClubTesting

Public Methods

Method Description
Button ( Microsoft.Xna.Framework.Graphics.Texture2D txt, Vector2 pos, Color col ) : System
Draw ( SpriteBatch sb ) : void

Method Details

Button() public method

public Button ( Microsoft.Xna.Framework.Graphics.Texture2D txt, Vector2 pos, Color col ) : System
txt Microsoft.Xna.Framework.Graphics.Texture2D
pos Vector2
col Color
return System

Draw() public method

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void