18 lines
328 B
Java
18 lines
328 B
Java
|
|
/**
|
|
* Beschreiben Sie hier die Klasse Spielobjekte.
|
|
*
|
|
* @author (Ihr Name)
|
|
* @version (eine Versionsnummer oder ein Datum)
|
|
*/
|
|
public abstract class Spielobjekt extends GameObject
|
|
{
|
|
protected final int x;
|
|
protected final int y;
|
|
|
|
public Spielobjekt(int x, int y){
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
}
|