Pacman/game.java
2026-06-25 11:41:23 +02:00

27 lines
479 B
Java

/**
* Klasse game.
*
* @author
*/
import processing.core.PApplet;
public class Game extends PApplet{
/*---------------Attribute-----*/
int cellSize = 40;
/*---------------Konstruktor---*/
public Game() {
String[] processingArgs = {"MySketch"};
PApplet.runSketch(processingArgs, this);
}
/*---------------Methoden------*/
public void settings() {
size(10 * cellSize, 10*cellSize);
}
}