Пример #1
0
        protected void PlayerCreated(IEntity player)
        {
            this.Player = player;
            GlobalConstants.GameManager.EntityHandler.SetPlayer(player);
            player.AddExperience(500);
            foreach (string jobName in player.Cultures.SelectMany(culture => culture.Jobs))
            {
                IJob job = GlobalConstants.GameManager.JobHandler.Get(jobName);
                job.AddExperience(300);
                player.AddJob(job);
            }

            this.Done = true;
        }