2023-10-05 23:49:36 +02:00
|
|
|
/*
|
|
|
|
============================================================
|
|
|
|
This is the "Narrenkarte" file from Author: Philipp Kotte
|
|
|
|
written on: 05 / 10 / 2023 at: 23:41
|
|
|
|
============================================================
|
|
|
|
*/
|
|
|
|
package Domain.Karten;
|
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
|
2023-10-05 23:49:36 +02:00
|
|
|
public class Narrenkarte extends Karte {
|
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
// Statische Konstanten
|
2023-10-23 10:33:50 +02:00
|
|
|
private static String TRUMPF_NAME = "Narr";
|
2023-10-10 16:46:11 +02:00
|
|
|
// Statische Attribute
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
// Attribute des Objekts
|
|
|
|
private String bezeichnung;
|
|
|
|
// Konstruktoren
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
public Narrenkarte() {
|
|
|
|
super();
|
2023-10-23 10:33:50 +02:00
|
|
|
setBezeichnung(TRUMPF_NAME);
|
2023-10-10 16:46:11 +02:00
|
|
|
}
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
// Statische Methoden
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
// Getter und Setter
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
public void setBezeichnung(String bezeichnung) {
|
|
|
|
this.bezeichnung = bezeichnung;
|
|
|
|
}
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
public String getBezeichnung() {
|
|
|
|
return this.bezeichnung;
|
|
|
|
}
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
// @Overrides
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
// Public Methoden
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-10 16:46:11 +02:00
|
|
|
// Private Methoden
|
2023-10-13 07:58:37 +02:00
|
|
|
|
2023-10-05 23:49:36 +02:00
|
|
|
}
|