Esempio n. 1
0
 private void collisionExitButton_Click(object sender, EventArgs e)
 {
     // Opens the Object Collision Exit Event data in the Code Editor
     this.onCollisionExit = CodeEditor.Open("Code Editor: " + nameBox.Text + " - Collision Exit",
                                            IDEComponent.ComponentType.Object, this.onCollisionExit, this.id, "collisionExit");
 }
Esempio n. 2
0
 //Destroy button click event
 private void destroyButton_Click(object sender, EventArgs e)
 {
     //Opens the Object Destroy Event data in the Code Editor
     this.onDestroy = CodeEditor.Open("Code Editor: " + nameBox.Text + " - Destroy",
                                      IDEComponent.ComponentType.Object, this.onDestroy, this.id, "destroy");
 }
Esempio n. 3
0
 //Mouse Released button click event
 private void mousereleasedButton_Click(object sender, EventArgs e)
 {
     //Opens the Object Mouse Released Event data in the Code Editor
     this.onMouseReleased = CodeEditor.Open("Code Editor: " + nameBox.Text + " - Mouse Released",
                                            IDEComponent.ComponentType.Object, this.onMouseReleased, this.id, "mouseReleased");
 }
Esempio n. 4
0
 //Key Pressed button click event
 private void keypressedButton_Click(object sender, EventArgs e)
 {
     //Opens the Object Key Pressed Event data in the Code Editor
     this.onKeyPressed = CodeEditor.Open("Code Editor: " + nameBox.Text + " - Key Pressed",
                                         IDEComponent.ComponentType.Object, this.onKeyPressed, this.id, "keyPressed");
 }
Esempio n. 5
0
 //Draw button click event
 private void drawButton_Click(object sender, EventArgs e)
 {
     //Opens the Object Draw Event data in the Code Editor
     this.onDraw = CodeEditor.Open("Code Editor: " + nameBox.Text + " - Draw",
                                   IDEComponent.ComponentType.Object, this.onDraw, this.id, "draw");
 }
Esempio n. 6
0
 //Update button click event
 private void updateButton_Click(object sender, EventArgs e)
 {
     //Opens the Object Update Event data in the Code Editor
     this.onUpdate = CodeEditor.Open("Code Editor: " + nameBox.Text + " - Update",
                                     IDEComponent.ComponentType.Object, this.onUpdate, this.id, "update");
 }