C# Class Asteroids.Classes.Alien

Afficher le fichier Open project: Timvangool/AsteroidsAPO2

Méthodes publiques

Свойство Type Description
bullets List

Méthodes publiques

Méthode Description
Alien ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 direction, float rotation, float speed, Microsoft.Xna.Framework.Graphics.Texture2D bulletTexture ) : System
Draw ( SpriteBatch spritebatch ) : void
GetBulletList ( ) : List
MoveAround ( GameTime gameTime ) : void
ShootBullet ( GameTime gameTime ) : void
Update ( GameTime gameTime ) : void

Method Details

Alien() public méthode

public Alien ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 direction, float rotation, float speed, Microsoft.Xna.Framework.Graphics.Texture2D bulletTexture ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
direction Vector2
rotation float
speed float
bulletTexture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat System

Draw() public méthode

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

GetBulletList() public méthode

public GetBulletList ( ) : List
Résultat List

MoveAround() public méthode

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

ShootBullet() public méthode

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

Update() public méthode

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

Property Details

bullets public_oe property

public List bullets
Résultat List