(d3791496e) FireSource implements ISpatialEntity.

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:47:05 +03:00
parent 3d5e402d22
commit d1dd0c6043
5 changed files with 240 additions and 117 deletions
@@ -328,6 +328,19 @@ namespace Barotrauma.Items.Components
return true;
}
public override void OnItemLoaded()
{
sonar = item.GetComponent<Sonar>();
}
public override bool Select(Character character)
{
if (!CanBeSelected) return false;
user = character;
return true;
}
public override void Update(float deltaTime, Camera cam)
{
networkUpdateTimer -= deltaTime;