InteractOnCollisionSystem

Namespace: Murder.Systems
Assembly: Murder.dll

public class InteractOnCollisionSystem : IMessagerSystem, ISystem

Interactors tag hightlights and interacts with InteractorComponents

Implements: IMessagerSystem, ISystem

⭐ Constructors

public InteractOnCollisionSystem()

⭐ Methods

IsInteractAllowed(Entity, InteractOnCollisionComponent)

protected virtual bool IsInteractAllowed(Entity interactor, InteractOnCollisionComponent component)

Parameters
interactor Entity
component InteractOnCollisionComponent

Returns
bool

OnMessage(World, Entity, IMessage)

public virtual void OnMessage(World world, Entity entity, IMessage message)

Parameters
world World
entity Entity
message IMessage