old code remove
This commit is contained in:
parent
4da000f1c8
commit
562b340469
1 changed files with 0 additions and 6 deletions
|
|
@ -27,12 +27,6 @@ impl CannonState {
|
|||
}
|
||||
|
||||
pub fn cycle_next(&mut self) {
|
||||
// self.next_type = match self.next_type {
|
||||
// BallType::First => BallType::Second,
|
||||
// BallType::Second => BallType::Third,
|
||||
// BallType::Third => BallType::Forth,
|
||||
// BallType::Forth => BallType::First,
|
||||
// };
|
||||
let cur = self.current_type;
|
||||
self.current_type = self.next_type;
|
||||
self.next_type = cur;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue