C# 클래스 Cyclyc.Framework.CycEnemy

상속: CycSprite
파일 보기 프로젝트 열기: JoeOsborn/Cyclyc 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
challenge Challenge
frameCount int
leftToRight bool
pool EnemyPool
startPosition Vector2

공개 메소드들

메소드 설명
CycEnemy ( Game1 game, EnemyPool p ) : System
Die ( ) : void
LoadContent ( ) : void
Reset ( Challenge c, string img, int fc, CollisionStyle col, bool left, int xp, int yp, int w, int h, int diff ) : void
Update ( GameTime gameTime ) : void

보호된 메소드들

메소드 설명
UpdatePosition ( GameTime gameTime ) : void

메소드 상세

CycEnemy() 공개 메소드

public CycEnemy ( Game1 game, EnemyPool p ) : System
game Game1
p EnemyPool
리턴 System

Die() 공개 메소드

public Die ( ) : void
리턴 void

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( Challenge c, string img, int fc, CollisionStyle col, bool left, int xp, int yp, int w, int h, int diff ) : void
c Challenge
img string
fc int
col CollisionStyle
left bool
xp int
yp int
w int
h int
diff int
리턴 void

Update() 공개 메소드

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

UpdatePosition() 보호된 메소드

protected UpdatePosition ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

challenge 보호되어 있는 프로퍼티

protected Challenge,Cyclyc.Framework challenge
리턴 Challenge

frameCount 보호되어 있는 프로퍼티

protected int frameCount
리턴 int

leftToRight 보호되어 있는 프로퍼티

protected bool leftToRight
리턴 bool

pool 보호되어 있는 프로퍼티

protected EnemyPool,Cyclyc.Framework pool
리턴 EnemyPool

startPosition 보호되어 있는 프로퍼티

protected Vector2 startPosition
리턴 Vector2