C# Class Asteroids.Classes.AstroidThom

显示文件 Open project: Timvangool/AsteroidsAPO2

Public Methods

Method 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 method

public AstroidThom ( ) : System
return System

AstroidThom() public method

public AstroidThom ( int yPos, int xPos, float speed, int direction ) : System
yPos int
xPos int
speed float
direction int
return System

CheckBoundries() public method

public CheckBoundries ( int scrnWidth, int scrnHeight ) : void
scrnWidth int
scrnHeight int
return void

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

GetHitbox() public method

public GetHitbox ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

GetIsVisable() public method

public GetIsVisable ( ) : bool
return bool

Load() public method

public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

SetIsVisable() public method

public SetIsVisable ( bool isVisable ) : void
isVisable bool
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void