Example #1
0
        private void restart()
        {
            while (Scene.Current != null)
            {
                Scene.FinishCurrent();
                Scene.UpdateCurrent(new Delta(0.001f));
            }

            Party playerParty = new Party(false);

            playerParty.AddPartyMember(new PartyMember(ResourceManager.GetPartyMemberData("marksman")));
            playerParty.AddPartyMember(new PartyMember(ResourceManager.GetPartyMemberData("warrior")));
            playerParty.AddPartyMember(new PartyMember(ResourceManager.GetPartyMemberData("medic")));
            playerParty.AddPartyMember(new PartyMember(ResourceManager.GetPartyMemberData("thief")));

            new Overworld(playerParty, ResourceManager.GetNewArea("forest"));

            Clock.Init(12);
        }