Exemple #1
0
        public static FirePool Instantiate()
        {
            var pool = new FirePool();

            pool.OnFireChanged();

            return(pool);
        }
Exemple #2
0
        public void Reset()
        {
            _baGuaWheel = new BaGuaWheel();

            _whiteDragon = DragonX.CreateWhite(new Location.Location(0, 6), this);
            _blackDragon = DragonX.CreateBlack(new Location.Location(6, 0), this);

            _firePool  = FirePool.Instantiate();
            _waterPool = WaterPool.Instantiate();

            _actionExecutor = null;
            _currentPlayer  = _whiteDragon;
        }