예제 #1
0
 /// <summary>
 /// For a good module experience, your module should clean up ANY and ALL entities
 /// and controls that were created and added to either the World or SpriteScreen.
 /// Be sure to remove any tabs added to the Director window, CornerIcons, etc.
 /// </summary>
 protected override void Unload()
 {
     ModuleInstance = null;
     GameService.Overlay.BlishHudWindow.RemoveTab(_todoTab);
     _exampleIcon.Dispose();
     _displayedTasks.ForEach(de => de.Dispose());
     _displayedTasks.Clear();
 }
예제 #2
0
 public ToDoModule([Import("ModuleParameters")] ModuleParameters moduleParameters) : base(moduleParameters)
 {
     ModuleInstance = this;
 }