C# Class MyGame.MonsterModel

This class represent monster model that can run differet animations so inherent from AnimatedModel
Inheritance: AnimatedModel
Afficher le fichier Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Méthodes publiques

Свойство Type Description
activeAnimation MonsterAnimations
isRunning bool

Méthodes publiques

Méthode Description
Bite ( ) : void
Die ( ) : void
Idle ( ) : void
MonsterModel ( MyGame game, SkinnedModel skinnedModel ) : System
Run ( ) : void
TakeDamage ( ) : void
reinitialize ( SkinnedModel skinnedModel ) : void

Private Methods

Méthode Description
DoAction ( bool LoopEnabled, MonsterAnimations anim ) : void

Method Details

Bite() public méthode

public Bite ( ) : void
Résultat void

Die() public méthode

public Die ( ) : void
Résultat void

Idle() public méthode

public Idle ( ) : void
Résultat void

MonsterModel() public méthode

public MonsterModel ( MyGame game, SkinnedModel skinnedModel ) : System
game MyGame
skinnedModel XNAnimation.SkinnedModel
Résultat System

Run() public méthode

public Run ( ) : void
Résultat void

TakeDamage() public méthode

public TakeDamage ( ) : void
Résultat void

reinitialize() public méthode

public reinitialize ( SkinnedModel skinnedModel ) : void
skinnedModel XNAnimation.SkinnedModel
Résultat void

Property Details

activeAnimation public_oe property

public MonsterAnimations activeAnimation
Résultat MonsterAnimations

isRunning public_oe property

public bool isRunning
Résultat bool