Package it.timehero.object

Examples of it.timehero.object.OggettoGenerico


    // of the screen
    g.translate(400 - (int) (gigi.getX() * 32)300 - (int) (gigi.getY() * 32));

    // draw objects
    for (int i = 0; i < world.getOggettiSize(); i++) {
      OggettoGenerico og = ((OggettoGenerico)world.getOggetto(i));
      og.draw(g);
    }
   
    // remove actors with hit points < 0
    world.removeDeadActors();

View Full Code Here


    ArrayList<Oggetto> actor = new ArrayList<Oggetto>();
        for (int x=0;x<map.getWidth();x++) {
            for (int y=0;y<map.getHeight();y++) {
              if (oggetti[x][y]){
                Image tile = map.getTileImage(x, y, Helper.LAYER_OBJECT);
                OggettoGenerico og = new OggettoGenerico(tile,x, y, getIdOggetto(x,y));
                actor.add(og);
              }
            }
        }
        return actor;
View Full Code Here

TOP

Related Classes of it.timehero.object.OggettoGenerico

Copyright © 2018 www.massapicom. 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.