Package com.googlecode.jumpnevolve.graphics

Examples of com.googlecode.jumpnevolve.graphics.Drawable


    createSystem();
    this.system.update((int) (secounds * 1000));
  }

  public Drawable getDrawable() {
    return new Drawable() {
      public void draw(Graphics g) {
        ParticleEffect.this.draw(g);
      }
    };
  }
View Full Code Here


        }
      }
    });
   
    // Hintergrund hinzufügen
    this.simulatedWorld.addBackground(new Drawable() {
      public void draw(Graphics g) {
        g.pushTransform();
        DemoLevel.this.simulatedWorld.doCameraTranslation(g);
         g.texture(new Rectangle(-50.0f, -40.0f, 200.0f, 60.0f), ResourceManager.getInstance().getImage("landscape.png"), true);
         g.popTransform();
View Full Code Here

   * @return Ein Drawable, das diesen Effekt zeichnet. Der Effekt selbst ist
   *         Drawable und Pollable. Diese Methode kann verwendet werden, wenn
   *         er nur als Drawable repräsentiert werden soll.
   */
  public Drawable getDrawable() {
    return new Drawable() {
      public void draw(Graphics g) {
        ParticleEffect.this.draw(g);
      }
    };
  }
View Full Code Here

TOP

Related Classes of com.googlecode.jumpnevolve.graphics.Drawable

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.