C# 클래스 WindowsGame1.Monster

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

공개 프로퍼티들

프로퍼티 타입 설명
CurHp float
ToHp float

공개 메소드들

메소드 설명
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
EnemyDie ( ) : void
LoadContent ( ) : void
Monster ( Microsoft.Xna.Framework.Content.ContentManager content, Level level ) : System
Update ( GameTime gameTime ) : void
getHit ( GameTime gameTime ) : void
spawnMoney ( ) : void
takeDamage ( int damageTaken ) : void

비공개 메소드들

메소드 설명
callBoss ( int stageNum ) : void
setHp ( int isBs ) : void

메소드 상세

Draw() 공개 메소드

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

EnemyDie() 공개 메소드

public EnemyDie ( ) : void
리턴 void

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

Monster() 공개 메소드

public Monster ( Microsoft.Xna.Framework.Content.ContentManager content, Level level ) : System
content Microsoft.Xna.Framework.Content.ContentManager
level Level
리턴 System

Update() 공개 메소드

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

getHit() 공개 메소드

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

spawnMoney() 공개 메소드

public spawnMoney ( ) : void
리턴 void

takeDamage() 공개 메소드

public takeDamage ( int damageTaken ) : void
damageTaken int
리턴 void

프로퍼티 상세

CurHp 공개적으로 프로퍼티

public float CurHp
리턴 float

ToHp 공개적으로 프로퍼티

public float ToHp
리턴 float