You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
390 B
C#
19 lines
390 B
C#
internal class PlaceResourcesInStockpile : AIState
|
|
{
|
|
private readonly Gatherer _gatherer;
|
|
|
|
public PlaceResourcesInStockpile(Gatherer gatherer)
|
|
{
|
|
_gatherer = gatherer;
|
|
}
|
|
|
|
public override void Tick()
|
|
{
|
|
if (_gatherer.Take())
|
|
_gatherer.StockPile.Add();
|
|
}
|
|
|
|
public override void OnEnter() { }
|
|
|
|
public override void OnExit() { }
|
|
} |