concinnity-core 0.19.0

Runtime vocabulary for the Concinnity engine: GPU layouts, ECS components, registry, CPU kernels
Documentation
1
2
3
4
5
6
7
8
9
// src/components/interactable.rs

/// Marks an entity the player can interact with (press the interact key while
/// close and facing it to trigger its behavior).
///
/// Runtime-only zero-size tag. Present on an entity whose `Prop` set
/// `interactable`.
#[derive(Debug, Clone, Copy, Default)]
pub struct Interactable;