C# 클래스 Game.TankBlaster.Services.BotService

파일 보기 프로젝트 열기: michalczerwinski/hello_wars 1 사용 예제들

공개 메소드들

메소드 설명
BotService ( Game.TankBlaster.Models.Battlefield field, Game.TankBlaster.Models.TankBlasterConfig config, Game.TankBlaster.Services.LocationService locationService ) : System
GetBotResults ( ) : double>.Dictionary
PlayBotMovesAsync ( int delayTime, int roundNumber ) : Task
SetUpBots ( IEnumerable competitors ) : void

비공개 메소드들

메소드 설명
CurrentBombBlastRadius ( int roundNumber ) : int
CurrentMissileBlastRadius ( int roundNumber ) : int
GetBotBattlefieldInfo ( TankBlasterBot bot, int roundNumber ) : BotBattlefieldInfo
GetBotRandomStartupLocation ( ) : Point
IsMoveValid ( TankBlasterBot bot, Game.TankBlaster.Models.BotMove move ) : bool
MissileAvailableIn ( TankBlasterBot bot, int roundNumber ) : int
PerformMove ( TankBlasterBot bot, Game.TankBlaster.Models.BotMove move, int roundNumber ) : Common.Models.RoundPartialHistory

메소드 상세

BotService() 공개 메소드

public BotService ( Game.TankBlaster.Models.Battlefield field, Game.TankBlaster.Models.TankBlasterConfig config, Game.TankBlaster.Services.LocationService locationService ) : System
field Game.TankBlaster.Models.Battlefield
config Game.TankBlaster.Models.TankBlasterConfig
locationService Game.TankBlaster.Services.LocationService
리턴 System

GetBotResults() 공개 메소드

public GetBotResults ( ) : double>.Dictionary
리턴 double>.Dictionary

PlayBotMovesAsync() 공개 메소드

public PlayBotMovesAsync ( int delayTime, int roundNumber ) : Task
delayTime int
roundNumber int
리턴 Task

SetUpBots() 공개 메소드

public SetUpBots ( IEnumerable competitors ) : void
competitors IEnumerable
리턴 void