Beispiel #1
0
 public ColorDataType(CodeBlock cbIn) : base(cbIn)
 {
 }
 public SetColorInstruction(CodeBlock cbIn) : base(cbIn)
 {
 }
 public void DeregisterCodeBlock(CodeBlock cIn)
 {
     GetAllCodeBlocks().Remove(cIn);
 }
 // Maybe make this "disable all active colliders by keeping track of them?
 public void DisableCollidersCompatibleCodeBlock(CodeBlock cIn)
 {
     SetCompatibleColliderState(cIn, false);
 }
 public MoveDataType(CodeBlock cbIn) : base(cbIn)
 {
 }
Beispiel #6
0
 public DoubleControlFlowInstruction(CodeBlock cbIn) : base(cbIn)
 {
 }
Beispiel #7
0
 public IArgument(CodeBlock cbIn)
 {
     myCodeBlock = cbIn;
     ResestInternalState();
 }
 public StandAloneInstruction(CodeBlock cbIn) : base(cbIn)
 {
 }
Beispiel #9
0
 public ArrayIndexInstruction(CodeBlock cbIn) : base(cbIn)
 {
     arrIndexArgKey = new KeyValuePair <System.Type, int>(typeof(ArrayElementSnapCollider), indexVal);
 }
Beispiel #10
0
 public ConditionalInstruction(CodeBlock cbIn) : base(cbIn)
 {
 }
 public MoveInstruction(CodeBlock cbIn) : base(cbIn)
 {
 }
Beispiel #12
0
 public SetVariableInstruction(CodeBlock cbIn) : base(cbIn)
 {
 }
 public MathInstruction(CodeBlock cbIn) : base(cbIn)
 {
 }
Beispiel #14
0
 public IntDataType(CodeBlock cbIn) : base(cbIn)
 {
 }
Beispiel #15
0
 public void SetArgCodeBlockAt(CodeBlock newArgumentCodeBlock, int pos, bool humanDidIt)
 {
     RemoveArgumentAt(pos, humanDidIt);
     newArgumentCodeBlock?.RemoveFromParentBlock(humanDidIt);
     AddNewArgumentAt(newArgumentCodeBlock, pos, humanDidIt);
 }
Beispiel #16
0
 public IntDataType(CodeBlock cbIn, int valIn) : base(cbIn)
 {
     SetValue(valIn);
 }
Beispiel #17
0
 public void SetUp(CodeBlock cbIn)
 {
     myCodeBlock = cbIn;
 }
Beispiel #18
0
 public BasicDataType(CodeBlock cbIn) : base(cbIn)
 {
 }
Beispiel #19
0
 public TurnInstruction(CodeBlock cbIn) : base(cbIn)
 {
 }
 public MoveDataType(CodeBlock cbIn, CodeBlockEnums.Move valIn) : base(cbIn)
 {
     SetValue(valIn);
 }
Beispiel #21
0
 // CodeBlockArgumentList relay functions
 public void SetArgumentBlockAt(CodeBlock newArgumentCodeBlock, int argPosition, bool humanDidIt)
 {
     codeBlockArgumentList.SetArgCodeBlockAt(newArgumentCodeBlock, argPosition, humanDidIt);
     UpdateText();
 }
 public void RegisterCodeBlock(CodeBlock cIn)
 {
     GetAllCodeBlocks().Add(cIn);
 }
Beispiel #23
0
 public ArrayDataStructure(CodeBlock cbIn) : base(cbIn)
 {
 }
 public void EnableCollidersCompatibleCodeBlock(CodeBlock cIn)
 {
     SetCompatibleColliderState(cIn, true);
 }
Beispiel #25
0
 public ArrayDataStructure(CodeBlock cbIn, int size) : base(cbIn)
 {
     SetSize(size);
     SetArrayType(null);
     internalArray = new IDataType[mySize];
 }
Beispiel #26
0
 public PrintInstruction(CodeBlock cbIn) : base(cbIn)
 {
 }
Beispiel #27
0
 public ColorDataType(CodeBlock cbIn, Color valIn) : base(cbIn)
 {
     SetValue(valIn);
 }