C# Class MyGame.MonstersManager

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Afficher le fichier Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void

This method renders the current state.

MonstersManager ( MyGame game ) : System
Update ( GameTime gameTime ) : void

Allows the component to run logic.

addEvent ( Event ev ) : void
checkCollisionWithBullet ( Unit unit ) : bool
reinitializeMonstersTypes ( ) : void

Private Methods

Méthode Description
addEnemy ( ) : void

Method Details

Draw() public méthode

This method renders the current state.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The elapsed game time.
Résultat void

MonstersManager() public méthode

public MonstersManager ( MyGame game ) : System
game MyGame
Résultat System

Update() public méthode

Allows the component to run logic.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The gametime.
Résultat void

addEvent() public méthode

public addEvent ( Event ev ) : void
ev Event
Résultat void

checkCollisionWithBullet() public méthode

public checkCollisionWithBullet ( Unit unit ) : bool
unit Unit
Résultat bool

reinitializeMonstersTypes() public méthode

public reinitializeMonstersTypes ( ) : void
Résultat void