C# Class GameEntities.RTS_Specific.BadFactionPlayer

Datei anzeigen Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Protected Properties

Property Type Description
currentAction Action

Public Methods

Method Description
BadFactionPlayer ( ) : System
PerformAction ( double elapsedGameTime, LinkedList mapChildren ) : void

Protected Methods

Method Description
ForagerStrategy ( ) : IEnumerable
OpeningStrategy ( ) : IEnumerable

Private Methods

Method Description
BuildBarracks ( ) : void
BuildDepot ( ) : void
CreateBuilder ( ) : void
CreateForager ( ) : void
CreateWarrior ( ) : void
IdentifyCharacters ( LinkedList mapChildren ) : void
IsFreeForBuildTaskTargetBuild ( Vec3 pos ) : bool
StartCollecting ( ) : void
WarriorStop ( LinkedList mapChildren ) : void
WarriorsAttackPosition ( LinkedList mapChildren ) : void
WarriorsExplore ( LinkedList mapChildren ) : void

Method Details

BadFactionPlayer() public method

public BadFactionPlayer ( ) : System
return System

ForagerStrategy() protected method

protected ForagerStrategy ( ) : IEnumerable
return IEnumerable

OpeningStrategy() protected method

protected OpeningStrategy ( ) : IEnumerable
return IEnumerable

PerformAction() public method

public PerformAction ( double elapsedGameTime, LinkedList mapChildren ) : void
elapsedGameTime double
mapChildren LinkedList
return void

Property Details

currentAction protected_oe property

protected Action currentAction
return Action