Examples of Gigi


Examples of it.timehero.actors.Gigi

       
        // creo gli attori in gioco e gli aggiungo al mondo
        //TODO: leggere dalla mappa la posizione delle streghe
        Strega strega = new Strega(this,26,9);
        Strega strega2 = new Strega(this,26,20);
        Gigi gigi = new Gigi();
        addActor(strega);
        addActor(strega2);
        addActor(gigi);
       
        // eseguo il thread separato di ragionamento della strega
View Full Code Here

Examples of it.timehero.actors.Gigi

       
        Log.info("Mappa dimensione x "+mappa.getWidth()+ " , dimensione y "+mappa.getHeight());
       
        // creo gli attori in gioco e gli aggiungo al mondo
        Strega strega = new Strega(this);
        Gigi gigi = new Gigi();
        addActor(strega);
        addActor(gigi);
       
        // eseguo il thread separato di ragionamento della strega
        strega.start();
View Full Code Here

Examples of it.timehero.actors.Gigi

  public ArrayList<Actor> getGigi() {
    ArrayList<Actor> actor = new ArrayList<Actor>();
        for (int x=0;x<map.getWidth();x++) {
            for (int y=0;y<map.getHeight();y++) {
              if (gigi[x][y]){
                Gigi gigi = new Gigi(x, y);
                actor.add(gigi);
              }
             
            }
        }
View Full Code Here

Examples of it.timehero.example.slick.timehero.entities.Gigi

      // delle dimensioni specificate
    // per la mappa map.tmx:
      //gigi = new Gigi(34,12, "data/grafica/hero3.gif",25,32,0,2,1,3,0,3);
   
    // per la mappa test1.tmx
    gigi = new Gigi(7,5, "data/grafica/hero3.gif",25,32,0,2,1,3,0,3);

     
      //Entity cattivo = new Entity(26,9, "data/grafica/hero3.gif",25,32,4,6,5,7,0,3);
     
      // aggiungo nell'array delle entit� di gioco
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.