C# Class Cyclyc.Framework.CycEnemy

Inheritance: CycSprite
Mostrar archivo Open project: JoeOsborn/Cyclyc Class Usage Examples

Protected Properties

Property Type Description
challenge Challenge
frameCount int
leftToRight bool
pool EnemyPool
startPosition Vector2

Public Methods

Method Description
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

Protected Methods

Method Description
UpdatePosition ( GameTime gameTime ) : void

Method Details

CycEnemy() public method

public CycEnemy ( Game1 game, EnemyPool p ) : System
game Game1
p EnemyPool
return System

Die() public method

public Die ( ) : void
return void

LoadContent() public method

public LoadContent ( ) : void
return void

Reset() public method

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
return void

Update() public method

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

UpdatePosition() protected method

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

Property Details

challenge protected_oe property

protected Challenge,Cyclyc.Framework challenge
return Challenge

frameCount protected_oe property

protected int frameCount
return int

leftToRight protected_oe property

protected bool leftToRight
return bool

pool protected_oe property

protected EnemyPool,Cyclyc.Framework pool
return EnemyPool

startPosition protected_oe property

protected Vector2 startPosition
return Vector2