C# Class Cyclyc.Framework.CycEnemy

Inheritance: CycSprite
Afficher le fichier Open project: JoeOsborn/Cyclyc Class Usage Examples

Protected Properties

Свойство Type Description
challenge Challenge
frameCount int
leftToRight bool
pool EnemyPool
startPosition Vector2

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
UpdatePosition ( GameTime gameTime ) : void

Method Details

CycEnemy() public méthode

public CycEnemy ( Game1 game, EnemyPool p ) : System
game Game1
p EnemyPool
Résultat System

Die() public méthode

public Die ( ) : void
Résultat void

LoadContent() public méthode

public LoadContent ( ) : void
Résultat void

Reset() public méthode

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
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

UpdatePosition() protected méthode

protected UpdatePosition ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

challenge protected_oe property

protected Challenge,Cyclyc.Framework challenge
Résultat Challenge

frameCount protected_oe property

protected int frameCount
Résultat int

leftToRight protected_oe property

protected bool leftToRight
Résultat bool

pool protected_oe property

protected EnemyPool,Cyclyc.Framework pool
Résultat EnemyPool

startPosition protected_oe property

protected Vector2 startPosition
Résultat Vector2