Esempio n. 1
0
        public Game()
        {
            fLives        = new TLives();
            turnInt       = new TInterval();
            _FlyingScores = new ObservableCollection <FlyingScore>();
            fFreqList     = new TTskFreqList();
            fTaskBox      = new TTaskBox(this);
            SetMode(GameMode.GAME_OVER_ESC);

            xyDirs = new TXYDir[Direction.directions.Length];
            for (int i = 0; i < xyDirs.Length; i++)
            {
                xyDirs[i] = new TXYDir(Direction.directions[i]);
            }
            load();
            foreach (TTskSet tsk in cfg.tskSetsSpetial)
            {
                taskBox.tskProvider.tskSelector.tskAdd(tsk);
            }
        }
Esempio n. 2
0
 public TXYPresenter(TTaskBox _taskBox)
 {
     taskBox = _taskBox;
 }