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

@ -33,10 +33,6 @@ public class Radiator : IBehavior
Item = item;
}
public void Initialize()
{
}
public bool Update(float delta)
{
var rad = pow(Entity.Temperature, Context.GlobalData.HeatRadiationPower) * Context.GlobalData.HeatRadiationMultiplier;
@ -44,8 +40,4 @@ public class Radiator : IBehavior
Entity.VisibilitySources[this] = rad;
return true;
}
public void Remove()
{
}
}