public void UpdateResearch() { if (_research == null) { return; } _research.Update(); if (_research.IsDone()) { Mutation newMutation = _research.Mutation; _research = null; if (OnResearchComplete != null) { OnResearchComplete(this, newMutation); } AddMutation(newMutation); } }
public void BeginResearch(Mutation mutation) { _research = new MutationResearch(mutation); }