about summary refs log tree commit diff
path: root/src/types/collision.rs
blob: f41e30fc516aa4f3a02db9d20ada08bc980859b9 (plain) (blame)
1
2
3
4
5
6
7
8
/// Describes a kind of game collision
pub enum Collision {
    /// Stop moving - you can't move there!
    Stop,

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