C# Class CannonGame.SolidObstacle

Inheritance: GameObject
Afficher le fichier Open project: obcilion/xnaKanonSpill Class Usage Examples

Méthodes publiques

Свойство Type Description
obstacle Microsoft.Xna.Framework.Rectangle

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch ) : void
SolidObstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int width, int height ) : System
SolidObstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int height, int width, float velocity, char axis, int distance ) : System
Update ( ) : void

Method Details

Draw() public méthode

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

SolidObstacle() public méthode

public SolidObstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int width, int height ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
width int
height int
Résultat System

SolidObstacle() public méthode

public SolidObstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, int height, int width, float velocity, char axis, int distance ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
height int
width int
velocity float
axis char
distance int
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

obstacle public_oe property

public Rectangle,Microsoft.Xna.Framework obstacle
Résultat Microsoft.Xna.Framework.Rectangle