Remove Actor.HasTrait<T>()
This commit is contained in:
@@ -18,6 +18,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
public interface ISpriteBodyInfo : ITraitInfo { }
|
||||
public interface ISpriteBody
|
||||
{
|
||||
void PlayCustomAnimation(Actor self, string newAnimation, Action after);
|
||||
@@ -67,6 +68,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
void Undocked();
|
||||
}
|
||||
|
||||
public interface ITechTreePrerequisiteInfo : ITraitInfo { }
|
||||
public interface ITechTreePrerequisite
|
||||
{
|
||||
IEnumerable<string> ProvidesPrerequisites { get; }
|
||||
@@ -91,6 +93,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public interface INotifyTransform { void BeforeTransform(Actor self); void OnTransform(Actor self); void AfterTransform(Actor toActor); }
|
||||
|
||||
public interface IAcceptResourcesInfo : ITraitInfo { }
|
||||
public interface IAcceptResources
|
||||
{
|
||||
void OnDock(Actor harv, DeliverResources dockOrder);
|
||||
|
||||
Reference in New Issue
Block a user