about summary refs log blame commit diff
path: root/src/types/collision.rs
blob: 59c60e69ee50608991a4a08d9fe425c415d49bd8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                      
                                            






                                                                    
/// Describes a kind of game collision
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Collision {
    /// Stop moving - you can't move there!
    Stop,

    /// Moving into an entity at the given position indicates combat
    Combat,
}