void StopAndClearProcess() { if (thisProcess.IsRunning()) { thisProcess.Stop(); } thisProcess = null; }
public override void OnEnter() { thisProcess = thisProcessFactory.CreateItemIconEmptifyProcess( thisItemIconImage, thisStateEngine, thisItemIcon, thisRemovesEmpty ); thisProcess.Run(); }