Package net.sourceforge.dsnk.gui.map.model

Examples of net.sourceforge.dsnk.gui.map.model.DrawableBlock.draw()


        // only draw if block is visible
        if (screenRect.intersects(clip)) {
          Point topLeftCorner = screenRect.getLocation();
          topLeftCorner.x = topLeftCorner.x + modifier.x;
          topLeftCorner.y = topLeftCorner.y + modifier.y;
          block.draw(gImg, topLeftCorner);
        }
      }
    }

    g.drawImage(image, 0, 0, null);
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.