Massive Item Behavior Refactoring

Item behaviors are now separated into more granular units, allowing designers to create more interesting items by combining behaviors
This commit is contained in:
hyperion51 2020-05-12 01:42:13 +01:00
commit 8cd4ea3dc5
40 changed files with 822 additions and 445 deletions

View file

@ -48,10 +48,6 @@ public class Thruster : IAnalogBehavior
_input = saturate(value);
}
public void Initialize()
{
}
public bool Update(float delta)
{
Thrust = Context.Evaluate(_data.Thrust, Item, Entity);
@ -60,8 +56,4 @@ public class Thruster : IAnalogBehavior
Entity.VisibilitySources[this] = _input * Context.Evaluate(_data.Visibility, Item, Entity);
return true;
}
public void Remove()
{
}
}