C# 클래스 Project_Starfighter.Ammo

파일 보기 프로젝트 열기: csce3513/Team15 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
aLocation Vector2
asBullet AnimatedSprite
iSpeed float

공개 메소드들

메소드 설명
Ammo ( ) : System
Ammo ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
Draw ( SpriteBatch sb ) : void
Fire ( int X, int Y ) : void
Update ( GameTime gameTime ) : void
UpdateEnemyAmmo ( GameTime gameTime ) : void

메소드 상세

Ammo() 공개 메소드

public Ammo ( ) : System
리턴 System

Ammo() 공개 메소드

public Ammo ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
리턴 System

Draw() 공개 메소드

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

Fire() 공개 메소드

public Fire ( int X, int Y ) : void
X int
Y int
리턴 void

Update() 공개 메소드

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

UpdateEnemyAmmo() 공개 메소드

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

프로퍼티 상세

aLocation 공개적으로 프로퍼티

public Vector2 aLocation
리턴 Vector2

asBullet 공개적으로 프로퍼티

public AnimatedSprite,Project_Starfighter asBullet
리턴 AnimatedSprite

iSpeed 공개적으로 프로퍼티

public float iSpeed
리턴 float