So funktioniert es wunderbar:
Code (Java):
public void render(Graphics2D g) {
int y = 0;
int x = 0;
for(int z = 0; z < image.getWidth(); z += game.JClonk.blocksize ) {
for (x=0; x < image.getWidth(); x += game.JClonk.blocksize) {
block[x][0].render(g);
block[x][5].render(g);
block[x][10].render(g);
}
y...
AWT-EventQueue-0 Null_Pointer_Exception durch Variable
0 commentaires:
Enregistrer un commentaire