C# 클래스 Astroids.Classes.Player

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

공개 프로퍼티들

프로퍼티 타입 설명
weapList List

공개 메소드들

메소드 설명
CheckBoundries ( int scrnWidth, int scrnHeight ) : void
Draw ( SpriteBatch spriteBatch ) : void
GetDirection ( ) : Vector2
GetLife ( ) : int
GetPlayerHitbox ( ) : Rectangle
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Move ( ) : void
Player ( ) : System
Player ( Microsoft.Xna.Framework.Content.ContentManager content ) : System
RocketExplosion ( GameTime gameTime ) : void
SetLives ( int lives ) : void
Shoot ( int weapon ) : Weapon
SlowDown ( ) : void
Update ( GameTime gameTime ) : void

메소드 상세

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

GetDirection() 공개 메소드

public GetDirection ( ) : Vector2
리턴 Vector2

GetLife() 공개 메소드

public GetLife ( ) : int
리턴 int

GetPlayerHitbox() 공개 메소드

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

Load() 공개 메소드

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

Move() 공개 메소드

public Move ( ) : void
리턴 void

Player() 공개 메소드

public Player ( ) : System
리턴 System

Player() 공개 메소드

public Player ( Microsoft.Xna.Framework.Content.ContentManager content ) : System
content Microsoft.Xna.Framework.Content.ContentManager
리턴 System

RocketExplosion() 공개 메소드

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

SetLives() 공개 메소드

public SetLives ( int lives ) : void
lives int
리턴 void

Shoot() 공개 메소드

public Shoot ( int weapon ) : Weapon
weapon int
리턴 Weapon

SlowDown() 공개 메소드

public SlowDown ( ) : void
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

weapList 공개적으로 프로퍼티

public List weapList
리턴 List