Behavior Refactoring

Behaviors and PerformanceStats are no longer associated solely with Ships, instead there's a generic Entity class which will also be used for stations and turrets.
This commit is contained in:
hyperion51 2020-04-09 10:33:16 +01:00
commit 7cd24147ae
41 changed files with 544 additions and 341 deletions

View file

@ -31,6 +31,17 @@ public class UpdateOrderAttribute : Attribute
}
}
[AttributeUsage(AttributeTargets.Class)]
public class EntityTypeRestrictionAttribute : Attribute
{
public readonly Type Type;
public EntityTypeRestrictionAttribute(Type type)
{
Type = type;
}
}
[AttributeUsage(AttributeTargets.Class)]
public class InspectableAttribute : Attribute { }