C# 클래스 MyPolarBear.GameObjects.Enemy

상속: System.Entity
파일 보기 프로젝트 열기: sgdc/sgdc-old 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsAlive bool
Pouch SeedPouch
retryTimer double
stuckCounter int
stuckTimer int

공개 메소드들

메소드 설명
AddCommand ( AIComponent command ) : void
ClearCommands ( ) : void
Command ( ) : void
Draw ( SpriteBatch spriteBatch ) : void
Enemy ( Vector2 position ) : System
GetTargetType ( ) : String
LoadContent ( ) : void
PlayAppropriateAnimation ( ) : void
Update ( GameTime gameTime ) : void
changeState ( State newState ) : void

비공개 메소드들

메소드 설명
ListenForCommands ( ) : void
StartCommands ( ) : void
beAfraid ( GameTime gameTime ) : void
beAimless ( GameTime gameTime ) : void
beEvil ( GameTime gameTime ) : void
beFollowing ( GameTime gameTime ) : void
bePlanting ( GameTime gameTime ) : void
checkStuck ( GameTime gameTime ) : void
dealWithCollisions ( ) : void
doCommands ( GameTime gameTime ) : void
drawCommands ( SpriteBatch spriteBatch ) : void

메소드 상세

AddCommand() 공개 메소드

public AddCommand ( AIComponent command ) : void
command MyPolarBear.AI.AIComponent
리턴 void

ClearCommands() 공개 메소드

public ClearCommands ( ) : void
리턴 void

Command() 공개 메소드

public Command ( ) : void
리턴 void

Draw() 공개 메소드

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

Enemy() 공개 메소드

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

GetTargetType() 공개 메소드

public GetTargetType ( ) : String
리턴 String

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

PlayAppropriateAnimation() 공개 메소드

public PlayAppropriateAnimation ( ) : void
리턴 void

Update() 공개 메소드

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

changeState() 공개 메소드

public changeState ( State newState ) : void
newState State
리턴 void

프로퍼티 상세

IsAlive 공개적으로 프로퍼티

public bool IsAlive
리턴 bool

Pouch 공개적으로 프로퍼티

public SeedPouch,MyPolarBear.GameObjects Pouch
리턴 SeedPouch

retryTimer 공개적으로 프로퍼티

public double retryTimer
리턴 double

stuckCounter 공개적으로 프로퍼티

public int stuckCounter
리턴 int

stuckTimer 공개적으로 프로퍼티

public int stuckTimer
리턴 int