C# 클래스 Astroids.Classes.AstroidThom

파일 보기 프로젝트 열기: Timvangool/AsteroidsAPO2

공개 메소드들

메소드 설명
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

메소드 상세

AstroidThom() 공개 메소드

public AstroidThom ( ) : System
리턴 System

AstroidThom() 공개 메소드

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

CheckBoundries() 공개 메소드

public CheckBoundries ( int scrnWidth, int scrnHeight ) : void
scrnWidth int
scrnHeight int
리턴 void

Draw() 공개 메소드

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

GetHitbox() 공개 메소드

public GetHitbox ( ) : Rectangle
리턴 Microsoft.Xna.Framework.Rectangle

GetIsVisable() 공개 메소드

public GetIsVisable ( ) : bool
리턴 bool

Load() 공개 메소드

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

SetIsVisable() 공개 메소드

public SetIsVisable ( bool isVisable ) : void
isVisable bool
리턴 void

Update() 공개 메소드

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