Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.07 seconds.

  1. Re: how to send a message to receiver with if else statement

    In that case, you still have the funxtions hard coded so....


    switch(x){
    case 1: this.chickens1(); break;
    case 2: this.chickens2(); break;
    case 3: this.chickens3(); break;
    case 4:...
  2. Re: how to send a message to receiver with if else statement

    Assuming that both face1() or whatever you decide to call it, and face2() etc all have the same medthod headers then this problem can be easily solved using Function objects, since Java doesn't...
Results 1 to 2 of 2