C# Class AnimatedSprite.Projectile

Inheritance: AnimatedSprite.RotatingSprite
Afficher le fichier Open project: itsligoGames/MonoGameTileSheetExample Class Usage Examples

Protected Properties

Свойство Type Description
RocketVelocity float

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D tx ) : void
Projectile ( Vector2 userPosition, List projectiletRefs, List explosionRef, int frameWidth, int frameHeight, float layerDepth ) : System
Update ( GameTime gametime ) : void
fire ( Vector2 SiteTarget ) : void

Method Details

Draw() public méthode

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

Projectile() public méthode

public Projectile ( Vector2 userPosition, List projectiletRefs, List explosionRef, int frameWidth, int frameHeight, float layerDepth ) : System
userPosition Vector2
projectiletRefs List
explosionRef List
frameWidth int
frameHeight int
layerDepth float
Résultat System

Update() public méthode

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

fire() public méthode

public fire ( Vector2 SiteTarget ) : void
SiteTarget Vector2
Résultat void

Property Details

RocketVelocity protected_oe property

protected float RocketVelocity
Résultat float