예제 #1
0
        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;
        }
예제 #2
0
 public ScoreModuleChangeArgs(IScoreModule Score)
 {
     this.Score = Score;
 }
예제 #3
0
 void MainWindow_ScoreModuleChangeEvent(object oSender, ScoreModuleChangeArgs scoreModulChangeArgs)
 {
     this._scoreModule = scoreModulChangeArgs.Score;
 }