示例#1
0
        public override void FinishInit(Client.Game game)
        {
            base.FinishInit(game);

            if (game.Rooms.Count > 1)
            {
                FireEvent(game, new GameEventArgs()
                {
                    Type = GameEventTypes.ChooseRoom
                });
            }
            else
            {
                FireEvent(game.Rooms.FirstOrDefault(), new GameEventArgs()
                {
                    Type = GameEventTypes.ChooseSpawnPosition
                });
            }
        }
示例#2
0
 public virtual void FinishInit(Client.Game game)
 {
 }
示例#3
0
 public abstract Result Execute(Client.Game game, Player player);