C# Class Danmaku_no_Kyojin.Sprites.BaseSprite

Afficher le fichier Open project: Noxalus/Danmaku-no-Kyojin

Protected Properties

Свойство Type Description
position Vector2
sourceRectangle Microsoft.Xna.Framework.Rectangle
speed float
texture Microsoft.Xna.Framework.Graphics.Texture2D
velocity Vector2

Méthodes publiques

Méthode Description
BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, Rectangle sourceRectangle ) : System
BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, Rectangle sourceRectangle, Vector2 position ) : System
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
Update ( GameTime gameTime ) : void

Method Details

BaseSprite() public méthode

public BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, Rectangle sourceRectangle ) : System
image Microsoft.Xna.Framework.Graphics.Texture2D
sourceRectangle Microsoft.Xna.Framework.Rectangle
Résultat System

BaseSprite() public méthode

public BaseSprite ( Microsoft.Xna.Framework.Graphics.Texture2D image, Rectangle sourceRectangle, Vector2 position ) : System
image Microsoft.Xna.Framework.Graphics.Texture2D
sourceRectangle Microsoft.Xna.Framework.Rectangle
position Vector2
Résultat System

Draw() public méthode

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

Update() public méthode

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

Property Details

position protected_oe property

protected Vector2 position
Résultat Vector2

sourceRectangle protected_oe property

protected Rectangle,Microsoft.Xna.Framework sourceRectangle
Résultat Microsoft.Xna.Framework.Rectangle

speed protected_oe property

protected float speed
Résultat float

texture protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics texture
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

velocity protected_oe property

protected Vector2 velocity
Résultat Vector2