C# Class AcademyRPG.Engine

Afficher le fichier Open project: vladislav-karamfilov/TelerikAcademy

Méthodes publiques

Свойство Type Description
separators char[]

Protected Properties

Свойство Type Description
allObjects List
controllables List
resources List

Méthodes publiques

Méthode Description
AddObject ( WorldObject obj ) : void
Engine ( ) : System
ExecuteCommand ( string command ) : void
ExecuteControllableCommand ( string commandWords ) : void
ExecuteCreateObjectCommand ( string commandWords ) : void

Private Methods

Méthode Description
HandleAttackCommand ( IControllable current ) : void
HandleBattle ( IFighter attacker, WorldObject defender ) : void
HandleGatherCommand ( IControllable current ) : void
HandleGathering ( IGatherer gatherer, IResource resource ) : void
HandleGoCommand ( string commandWords, IControllable current ) : void
RemoveDestroyed ( ) : void

Method Details

AddObject() public méthode

public AddObject ( WorldObject obj ) : void
obj WorldObject
Résultat void

Engine() public méthode

public Engine ( ) : System
Résultat System

ExecuteCommand() public méthode

public ExecuteCommand ( string command ) : void
command string
Résultat void

ExecuteControllableCommand() public méthode

public ExecuteControllableCommand ( string commandWords ) : void
commandWords string
Résultat void

ExecuteCreateObjectCommand() public méthode

public ExecuteCreateObjectCommand ( string commandWords ) : void
commandWords string
Résultat void

Property Details

allObjects protected_oe property

protected List allObjects
Résultat List

controllables protected_oe property

protected List controllables
Résultat List

resources protected_oe property

protected List resources
Résultat List

separators public_oe static_oe property

public static char[] separators
Résultat char[]