Kanda Interactions 0.7.1
Loading...
Searching...
No Matches
InteractionBinding Struct Reference

A binding component between Interactors and Interactables. More...

+ Inheritance diagram for InteractionBinding:

Public Attributes

Entity WithEntity
 The entity we are interacting with, either a Interactor or a Interactable.
 
ActivationTypes ActivationTypesActive
 The type of activations used for this binding.
 

Detailed Description

A binding component between Interactors and Interactables.

When an Interactor is activated, a new binding is added on the Interactor entity, linking to the target.

At the same time, this binding is added on the Interactable entity, linking to the source Interactor.

Both bindings have the same ActivationTypes bits, which reflects if Primary/Secondary/Both are active.

This way, we achieve a two-way linking of Interactors and Interactables that are currently in an interactive relationship.


The documentation for this struct was generated from the following file: