C# Class Bug.Display.Image

Inheritance: UiElement
Show file Open project: Projectfights/Fight-insect

Protected Properties

Property Type Description
tex Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
Collide ( int pointX, int pointY ) : bool
Draw ( SpriteBatch batch ) : void
Image ( int x, int y, Microsoft.Xna.Framework.Graphics.Texture2D tex_ ) : Microsoft.Xna.Framework

Method Details

Collide() public method

public Collide ( int pointX, int pointY ) : bool
pointX int
pointY int
return bool

Draw() public method

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

Image() public method

public Image ( int x, int y, Microsoft.Xna.Framework.Graphics.Texture2D tex_ ) : Microsoft.Xna.Framework
x int
y int
tex_ Microsoft.Xna.Framework.Graphics.Texture2D
return Microsoft.Xna.Framework

Property Details

tex protected property

protected Texture2D,Microsoft.Xna.Framework.Graphics tex
return Microsoft.Xna.Framework.Graphics.Texture2D