public static Instance CreateInstance(Interface exeInterface, FileEntry executionFile, OS os, List <string> args) => CreateInstance(exeInterface, executionFile, os, args, Rectangle.Empty);
public Instance(Rectangle loc, OS os, List <string> args, FileEntry executionFile, Interface exeInterface) : base(loc, os) { Arguments = args; Interface = exeInterface; ExecutionFile = executionFile; IdentifierName = Interface.Identifier; needsProxyAccess = Interface.NeedsProxyAccess; ramCost = Interface.RamCost; isInterfaceDisplayOverride = Interface is IMainDisplayOverride; Interface.OnConstruction(this); }