(6f231d0fc) Add generic methods for getting linked map entities. TODO: memory-optimized overload for hulls.

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:43:33 +03:00
parent 3d7b229385
commit 3153771cc7
32 changed files with 439 additions and 271 deletions
@@ -73,36 +73,6 @@ namespace Barotrauma
}
}
public override void Update(float deltaTime)
{
if (objectiveManager.CurrentObjective == this)
{
if (randomTimer > 0)
{
randomTimer -= deltaTime;
}
else
{
SetRandom();
}
}
}
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;