public GamePlay(Map currentMap, Dictionary <IArenaCallback, RobotAvatar> avatarDictionary, IScoreModule ScoreModule, int gamePlayNumber) { var localPath = System.Reflection.Assembly.GetEntryAssembly().Location; var pos = localPath.LastIndexOf(@"\") + 1; strLogPath = localPath.Substring(0, pos) + "GamePlayLog(" + gamePlayNumber.ToString() + ").txt"; _avatarDictionary = avatarDictionary; _currentMap = currentMap; _scoreModule = ScoreModule; }
public ScoreModuleChangeArgs(IScoreModule Score) { this.Score = Score; }
void MainWindow_ScoreModuleChangeEvent(object oSender, ScoreModuleChangeArgs scoreModulChangeArgs) { this._scoreModule = scoreModulChangeArgs.Score; }