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

@ -43,10 +43,6 @@ public class Reactor : IBehavior
Item = item;
}
public void Initialize()
{
}
public bool Update(float delta)
{
var cap = Context.Evaluate(_data.Capacitance, Item, Entity);
@ -69,8 +65,4 @@ public class Reactor : IBehavior
}
return true;
}
public void Remove()
{
}
}