コード例 #1
0
 /// <summary>
 // This method is executed when using this.Publish(new ExpireCubeEvent())
 /// </summary>
 public override void ExpireCubeEventHandler(ExpireCubeEvent data)
 {
     base.ExpireCubeEventHandler(data);
     // Process the commands information.  Also, you can publish new events by using the line below.
     // this.Publish(new AnotherEvent())
     _cubeClicker.ExpireCube(data.Target.Id);
     CubeSpawn.Cubes.Remove(data.Target);
 }
コード例 #2
0
 /// <summary>
 // This method is executed when using this.Publish(new ExpireCubeEvent())
 /// </summary>
 public override void ExpireCubeEventHandler(ExpireCubeEvent data)
 {
     base.ExpireCubeEventHandler(data);
     // Process the commands information.  Also, you can publish new events by using the line below.
     // this.Publish(new AnotherEvent())
     _cubeClicker.ExpireCube(data.Target.Id);
     CubeSpawn.Cubes.Remove(data.Target);
 }
コード例 #3
0
 /// <summary>
 // This method is executed when using this.Publish(new ExpireCubeEvent())
 /// </summary>
 public virtual void ExpireCubeEventHandler(ExpireCubeEvent data)
 {
     // Process the commands information.  Also, you can publish new events by using the line below.
     // this.Publish(new AnotherEvent())
 }
コード例 #4
0
 /// <summary>
 // This method is executed when using this.Publish(new ExpireCubeEvent())
 /// </summary>
 public virtual void ExpireCubeEventHandler(ExpireCubeEvent data)
 {
     // Process the commands information.  Also, you can publish new events by using the line below.
     // this.Publish(new AnotherEvent())
 }
コード例 #5
0
 public override void ExpireCubeEventHandler(ExpireCubeEvent data)
 {
     base.ExpireCubeEventHandler(data);
     _cubeClicker.ExpireCube(data.Target.Id);
     CubeSpawn.Cubes.Remove(data.Target);
 }