C# Class MyGame.MonsterUnit

Inheritance: Unit
Afficher le fichier Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Méthodes publiques

Свойство Type Description
dead bool
monsterConstants Helper.MonsterConstants
moving bool

Méthodes publiques

Méthode Description
MonsterUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale, MonsterConstants monsterConstants ) : System
update ( GameTime gameTime ) : void

Allows the unit to update itself.

Method Details

MonsterUnit() public méthode

public MonsterUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale, MonsterConstants monsterConstants ) : System
game MyGame
Position Vector3
Rotation Vector3
Scale Vector3
monsterConstants Helper.MonsterConstants
Résultat System

update() public méthode

Allows the unit to update itself.
public update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Résultat void

Property Details

dead public_oe property

public bool dead
Résultat bool

monsterConstants public_oe property

public MonsterConstants,Helper monsterConstants
Résultat Helper.MonsterConstants

moving public_oe property

public bool moving
Résultat bool