Boss牌
This commit is contained in:
@@ -18,6 +18,13 @@ namespace SLSFramework.General
|
||||
/// </summary>
|
||||
public readonly CommandContext groupContext;
|
||||
|
||||
public CommandGroup(params CommandBase[] commands)
|
||||
{
|
||||
this.mode = ExecutionMode.Sequential;
|
||||
this.groupContext = new CommandContext();
|
||||
this.commands.AddRange(commands);
|
||||
}
|
||||
|
||||
public CommandGroup(ExecutionMode mode, params CommandBase[] commands)
|
||||
{
|
||||
this.mode = mode;
|
||||
|
||||
Reference in New Issue
Block a user