source: binary-improvements2/MapRendering/src/Commands/RenderMap.cs@ 402

Last change on this file since 402 was 391, checked in by alloc, 2 years ago

Major refactoring/cleanup

File size: 529 bytes
RevLine 
[224]1using System.Collections.Generic;
[391]2using JetBrains.Annotations;
[224]3
[391]4namespace MapRendering.Commands {
5 [UsedImplicitly]
[325]6 public class RenderMap : ConsoleCmdAbstract {
7 public override string GetDescription () {
[224]8 return "render the current map to a file";
9 }
10
[325]11 public override string[] GetCommands () {
12 return new[] {"rendermap"};
[224]13 }
14
[325]15 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) {
[391]16 MapRenderer.Instance.RenderFullMap ();
[224]17
[359]18 SdtdConsole.Instance.Output ("Render map done");
[224]19 }
20 }
[325]21}
Note: See TracBrowser for help on using the repository browser.