(92fff3477) iterated shuttles

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:51:51 +03:00
parent d794d22de0
commit 9a69c4ea60
13 changed files with 249 additions and 210 deletions
@@ -74,6 +74,21 @@ namespace Barotrauma
}
}
public override void Update(float deltaTime)
{
if (objectiveManager.CurrentObjective == this)
{
if (randomTimer > 0)
{
randomTimer -= deltaTime;
}
else
{
SetRandom();
}
}
}
public override bool IsCompleted() => false;
public override bool CanBeCompleted => true;