Class CityViolation
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.city.cityhall.impl.CityViolation
-
- All Implemented Interfaces:
ICityViolation
- Direct Known Subclasses:
CustomsViolation
,PirateSupportViolation
,PlunderTradingOfficeViolation
,SpecialTaxViolation
public abstract class CityViolation extends java.lang.Object implements ICityViolation
- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 31, 2014
-
-
Field Summary
Fields Modifier and Type Field Description private ICity
city
private java.time.LocalDateTime
date
private ECityViolationPunishment
punishment
-
Constructor Summary
Constructors Constructor Description CityViolation(ICity city, java.time.LocalDateTime date)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.sahits.game.openpatrician.model.city.cityhall.ICityViolation
getCity, getDate, getPunishment
-
-
-
-
Field Detail
-
city
private final ICity city
-
date
private final java.time.LocalDateTime date
-
punishment
private ECityViolationPunishment punishment
-
-
Constructor Detail
-
CityViolation
public CityViolation(ICity city, java.time.LocalDateTime date)
-
-