示例#1
0
        public void Start(int size, IGameMode gameMode)
        {
            _physics.Start(size);

            Size = size;

            GameMode = gameMode;

            GameMode.OnStart();

            TickCount = 0;

            SetTurnMinutes(Settings.TurnMinutes);

            IsStarted = true;

            Log.Info($"Started game with world size = {size}");
        }
示例#2
0
文件: Game.cs 项目: kfazi/AgarIo
        public void Start(int size, IGameMode gameMode)
        {
            _physics.Start(size);

            Size = size;

            GameMode = gameMode;

            GameMode.OnStart();

            TickCount = 0;

            SetTurnMinutes(Settings.TurnMinutes);

            IsStarted = true;

            Log.Info($"Started game with world size = {size}");
        }