C# 클래스 ZombieShooter.Player

상속: Obj
파일 보기 프로젝트 열기: Spectrewiz/Zombie-Shooter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ammo int
maxAmmo int
player Player
reloading bool

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Menu ( ) : void
Player ( Vector2 position ) : System
Reload ( ) : void
Shoot ( ) : void
Update ( ) : void
checkTimer ( ) : void

메소드 상세

Draw() 공개 메소드

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

LoadContent() 공개 메소드

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

Menu() 공개 메소드

public Menu ( ) : void
리턴 void

Player() 공개 메소드

public Player ( Vector2 position ) : System
position Vector2
리턴 System

Reload() 공개 메소드

public Reload ( ) : void
리턴 void

Shoot() 공개 메소드

public Shoot ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

checkTimer() 공개 메소드

public checkTimer ( ) : void
리턴 void

프로퍼티 상세

ammo 공개적으로 프로퍼티

public int ammo
리턴 int

maxAmmo 공개적으로 프로퍼티

public int maxAmmo
리턴 int

player 공개적으로 정적으로 프로퍼티

public static Player,ZombieShooter player
리턴 Player

reloading 공개적으로 프로퍼티

public bool reloading
리턴 bool