C# Class Bug.GameObjects.Background

Inheritance: GameObject
Afficher le fichier Open project: Projectfights/Fight-insect Class Usage Examples

Méthodes publiques

Méthode Description
Background ( Microsoft.Xna.Framework.Graphics.Texture2D tex_ ) : Microsoft.Xna.Framework
Draw ( SpriteBatch spriteBatch ) : void
GetBoundingBox ( ) : Rectangle
Update ( GameTime gameTime ) : void

Method Details

Background() public méthode

public Background ( Microsoft.Xna.Framework.Graphics.Texture2D tex_ ) : Microsoft.Xna.Framework
tex_ Microsoft.Xna.Framework.Graphics.Texture2D
Résultat Microsoft.Xna.Framework

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

GetBoundingBox() public méthode

public GetBoundingBox ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void