private void MakeTestEncounter() { state = State.Encounter; var encounterObject = new GameObject("Encounter"); encounter = encounterObject.AddComponent <Encounter>(); encounter.BeginEncounter(this, Resources.Load <EncounterDescriptor>("Encounters/TestHostile")); }
private void BeginEncounter() { Debug.Assert(state == State.PreEncounter); state = State.Encounter; var encounterObject = new GameObject("Encounter"); encounter = encounterObject.AddComponent <Encounter>(); encounter.BeginEncounter(this, nextEncounterDescriptor); }