mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
add comment for future direction of Interactables.
This commit is contained in:
parent
c20dbe17dd
commit
c5d66192fc
@ -15,6 +15,8 @@ use common_base::span;
|
||||
|
||||
use crate::scene::{terrain::Interaction, Scene};
|
||||
|
||||
// TODO: extract mining blocks (the None case in the Block variant) from this
|
||||
// enum since they don't use the interaction key
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub enum Interactable {
|
||||
Block(Block, Vec3<i32>, Option<Interaction>),
|
||||
|
Loading…
Reference in New Issue
Block a user