Pacman/Render.java
2026-06-25 11:52:34 +02:00

33 lines
537 B
Java

/**
* Klasse render.
*
* @author
*/
public class Render {
/*---------------Attribute-----*/
Game game;
/*---------------Konstruktor---*/
public Render(Game game) {
this.game = game;
}
public void drawGhost(int x, int y, int r, int g, int b){
}
public void drawPacman(int x, int y, boolean open){
game.fill(255,255,0);
if(open){
}else{
game.circle(x, y, game.cellSize*0.8f);
}
}
}