C# Class ArcadeRPG.MonsterEngine

Afficher le fichier Open project: jkeech/Super-Space-Escape

Méthodes publiques

Méthode Description
AddMonster ( ArcadeRPG.Enemy monster ) : void
Clear ( ) : void
GetMonsters ( ) : List
IsVisible ( ArcadeRPG.Enemy monster ) : bool
MonsterEngine ( ArcadeRPG.GameState _game_state ) : System
Remove ( ArcadeRPG.Enemy monster ) : void
Update ( int elapsed_time ) : void

Private Methods

Méthode Description
GetRating ( double x, double max ) : int
LoadDecisionMatrix ( ) : void
act ( ArcadeRPG.Enemy monster, actionDecision action ) : void
advance ( ArcadeRPG.Enemy monster ) : void
align ( ArcadeRPG.Enemy monster ) : void
evade ( ArcadeRPG.Enemy monster ) : void
fire ( ArcadeRPG.Enemy monster ) : void
flee ( ArcadeRPG.Enemy monster ) : void
idle ( ArcadeRPG.Enemy monster ) : void
move_towards_target ( ArcadeRPG.Enemy monster ) : void
think ( ArcadeRPG.Enemy monster ) : actionDecision

Method Details

AddMonster() public méthode

public AddMonster ( ArcadeRPG.Enemy monster ) : void
monster ArcadeRPG.Enemy
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

GetMonsters() public méthode

public GetMonsters ( ) : List
Résultat List

IsVisible() public méthode

public IsVisible ( ArcadeRPG.Enemy monster ) : bool
monster ArcadeRPG.Enemy
Résultat bool

MonsterEngine() public méthode

public MonsterEngine ( ArcadeRPG.GameState _game_state ) : System
_game_state ArcadeRPG.GameState
Résultat System

Remove() public méthode

public Remove ( ArcadeRPG.Enemy monster ) : void
monster ArcadeRPG.Enemy
Résultat void

Update() public méthode

public Update ( int elapsed_time ) : void
elapsed_time int
Résultat void