26 lines
362 B
Java
26 lines
362 B
Java
import java.awt.Frame;
|
|
|
|
/**
|
|
* Klasse Ghost.
|
|
*
|
|
* @author
|
|
*/
|
|
public class Ghost {
|
|
/*---------------Attribute-----*/
|
|
int x;
|
|
int y;
|
|
Game game;
|
|
int gameFrame;
|
|
|
|
/*---------------Konstruktor---*/
|
|
public Ghost(Game game) {
|
|
x = 20; y = 20;
|
|
this.game = game;
|
|
}
|
|
|
|
/*---------------Methoden------*/
|
|
|
|
|
|
|
|
}
|