Start refactoring tools

This commit is contained in:
zumorica
2020-04-28 16:44:22 +02:00
parent ee63870187
commit ca5638badf
17 changed files with 205 additions and 177 deletions

View File

@@ -1,23 +0,0 @@
using Content.Server.GameObjects.Components.Interactable.Tools;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.EntitySystems
{
class WelderSystem : EntitySystem
{
public override void Initialize()
{
EntityQuery = new TypeEntityQuery(typeof(WelderComponent));
}
public override void Update(float frameTime)
{
foreach (var entity in RelevantEntities)
{
var comp = entity.GetComponent<WelderComponent>();
comp.OnUpdate(frameTime);
}
}
}
}