public override void SetOutput(object value) { output = (CodeBlockEnums.Turn)value; }
public TurnDataType(CodeBlock cbIn, CodeBlockEnums.Turn valIn) : base(cbIn) { SetValue(valIn); }
public override void EvaluateArgumentsOfInstruction() { output = (CodeBlockEnums.Turn)(GetArgument(CommonSCKeys.Turn)?.EvaluateArgument() as TurnDataType).GetValue(); }