BusynessCoordinator

public class BusynessCoordinator implements Serializable

A simple container for two lists: units that are doing something and units that aren’t.

Author:The Condor

Constructors

BusynessCoordinator

public BusynessCoordinator()

Methods

assignBusy

public void assignBusy(Integer unitID)

assignIdle

public void assignIdle(Integer unitID)

isBusy

public boolean isBusy(Integer id)

isIdle

public boolean isIdle(Integer id)

removeUnit

public void removeUnit(Integer unitID)