Class Crossbowmen
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.city.cityhall.impl.CityGuard
-
- ch.sahits.game.openpatrician.model.city.cityhall.impl.Crossbowmen
-
- All Implemented Interfaces:
ICityGuard
,ICrossbowmen
public class Crossbowmen extends CityGuard implements ICrossbowmen
- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 31, 2014
-
-
Field Summary
Fields Modifier and Type Field Description private CityProperties
cityProperties
-
Constructor Summary
Constructors Constructor Description Crossbowmen()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getWeeklySalary()
Weekly salary per guard.-
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.ICityGuard
getAmount, update
-
-
-
-
Field Detail
-
cityProperties
@Autowired private CityProperties cityProperties
-
-
Method Detail
-
getWeeklySalary
public int getWeeklySalary()
Description copied from interface:ICityGuard
Weekly salary per guard.- Specified by:
getWeeklySalary
in interfaceICityGuard
- Returns:
- weekly salary per guard.
-
-