blob: 949f3bd898f7ed86321e154577e78897e0414a21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#[derive(Default)]
pub struct BlockBehavior {
pub has_collision: bool,
}
impl BlockBehavior {
#[inline]
pub fn no_collision(mut self) -> Self {
self.has_collision = false;
self
}
}
|