IInteractiveComponent

Namespace: Bang.Interactions
Assembly: Bang.dll

public abstract IInteractiveComponent : IComponent

Component that will interact with another entity.

Implements: IComponent

⭐ Methods

Interact(World, Entity, Entity)

public abstract void Interact(World world, Entity interactor, Entity interacted)

This is the logic which will be immediately called once the interacts with the .

Parameters
world World
interactor Entity
interacted Entity