(&self)
| 131 | } |
| 132 | |
| 133 | pub fn get_stackshift(&self) -> Vector2 { |
| 134 | match self.role { |
| 135 | StackRole::Dragon => Vector2::new(0.1, -0.25), |
| 136 | //StackRole::DragonLocked => Vector2::new(0.1, -0.25), |
| 137 | StackRole::Flower => Vector2::new(0.1, -0.25), |
| 138 | StackRole::Target => Vector2::new(0.1, -0.25), |
| 139 | StackRole::Sorting => Vector2::new(0.0, 32.0), |
| 140 | StackRole::Generic => Vector2::new(0.0, 32.0), |
| 141 | StackRole::Animation => Vector2::new(0.0, 0.0), |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | pub fn split(&mut self, at: usize) -> Stack { |
| 146 | Stack { |
no outgoing calls
no test coverage detected