Package net.sf.freecol.server.model
Interface TurnTaker
-
- All Known Implementing Classes:
ServerBuilding
,ServerColony
,ServerColonyTile
,ServerEurope
,ServerGame
,ServerIndianSettlement
,ServerPlayer
,ServerUnit
public interface TurnTaker
Interface for server-side objects which need to update every turn.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
csNewTurn(java.util.Random random, LogBuilder lb, ChangeSet cs)
Executes new-turn actions for this server object.
-
-
-
Method Detail
-
csNewTurn
void csNewTurn(java.util.Random random, LogBuilder lb, ChangeSet cs)
Executes new-turn actions for this server object.- Parameters:
random
- A pseudo-random number source.lb
- ALogBuilder
to log to.cs
- AChangeSet
to update.
-
-