C# Class Asteroids.Classes.AstroidThom

Afficher le fichier Open project: Timvangool/AsteroidsAPO2

Méthodes publiques

Méthode Description
AstroidThom ( ) : System
AstroidThom ( int yPos, int xPos, float speed, int direction ) : System
CheckBoundries ( int scrnWidth, int scrnHeight ) : void
Draw ( SpriteBatch spriteBatch ) : void
GetHitbox ( ) : Rectangle
GetIsVisable ( ) : bool
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
SetIsVisable ( bool isVisable ) : void
Update ( GameTime gameTime ) : void

Method Details

AstroidThom() public méthode

public AstroidThom ( ) : System
Résultat System

AstroidThom() public méthode

public AstroidThom ( int yPos, int xPos, float speed, int direction ) : System
yPos int
xPos int
speed float
direction int
Résultat System

CheckBoundries() public méthode

public CheckBoundries ( int scrnWidth, int scrnHeight ) : void
scrnWidth int
scrnHeight int
Résultat void

Draw() public méthode

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

GetHitbox() public méthode

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

GetIsVisable() public méthode

public GetIsVisable ( ) : bool
Résultat bool

Load() public méthode

public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

SetIsVisable() public méthode

public SetIsVisable ( bool isVisable ) : void
isVisable bool
Résultat void

Update() public méthode

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