C# Class BotFarm.BotFactory

Inheritance: IDisposable
Mostrar archivo Open project: jackpoz/BotFarm Class Usage Examples

Public Methods

Method Description
BotFactory ( ) : System
CreateBot ( ) : BotGame
Dispose ( ) : void
IsBot ( Client.World.Entities.WorldObject obj ) : bool
LoadBot ( BotFarm.BotInfo info ) : BotGame
Log ( string message, LogLevel level = LogLevel.Info ) : void
RemoveBot ( BotGame bot ) : void
SetupFactory ( int botCount ) : void

Private Methods

Method Description
DisplayStatistics ( BotGame bot ) : void
DisplayStatistics ( string botname ) : void
LogDebug ( string message ) : void
SaveBotInfos ( ) : void

Method Details

BotFactory() public method

public BotFactory ( ) : System
return System

CreateBot() public method

public CreateBot ( ) : BotGame
return BotGame

Dispose() public method

public Dispose ( ) : void
return void

IsBot() public method

public IsBot ( Client.World.Entities.WorldObject obj ) : bool
obj Client.World.Entities.WorldObject
return bool

LoadBot() public method

public LoadBot ( BotFarm.BotInfo info ) : BotGame
info BotFarm.BotInfo
return BotGame

Log() public method

public Log ( string message, LogLevel level = LogLevel.Info ) : void
message string
level LogLevel
return void

RemoveBot() public method

public RemoveBot ( BotGame bot ) : void
bot BotGame
return void

SetupFactory() public method

public SetupFactory ( int botCount ) : void
botCount int
return void