Class BaseTradePerson
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.people.impl.BaseTradePerson
-
- All Implemented Interfaces:
IPerson
,ITradePerson
- Direct Known Subclasses:
ContractBrookerState
public class BaseTradePerson extends java.lang.Object implements ITradePerson
Base implementation of trading person- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Jan 23, 2013
-
-
Field Summary
Fields Modifier and Type Field Description private int
amount
private int
avgPricePerItem
private IWare
ware
-
Constructor Summary
Constructors Constructor Description BaseTradePerson()
-
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.people.ITradePerson
getAmount, getAvgPricePerItem, getWare, setAmount, setAvgPricePerItem, setWare
-
-
-
-
Field Detail
-
ware
private IWare ware
-
amount
private int amount
-
avgPricePerItem
private int avgPricePerItem
-
-