forked from 2211945/WIZARD_PR2_DOP
37 lines
672 B
Java
37 lines
672 B
Java
/*
|
|
============================================================
|
|
This is the "Karte" file from Author: Philipp Kotte
|
|
written on: 05 / 10 / 2023 at: 23:28
|
|
============================================================
|
|
*/
|
|
package Domain.Karten;
|
|
|
|
public abstract class Karte {
|
|
|
|
// Statische Konstanten
|
|
|
|
// Statische Attribute
|
|
private static int id_card = 0;
|
|
// Attribute des Ojektes
|
|
|
|
|
|
// Konstruktoren
|
|
public Karte() {
|
|
if (id_card < 60) {
|
|
id_card++;
|
|
}
|
|
}
|
|
// Statische Methoden
|
|
public static int getId_card() {
|
|
return id_card;
|
|
}
|
|
// Getter und Setter
|
|
|
|
|
|
// @Overrides
|
|
|
|
// Public Methoden (öffentliche Methoden)
|
|
|
|
// Private Methoden (Hilfsmethoden)
|
|
}
|