Ruin them again (the comments)

This commit is contained in:
Adam Whitehurst 2020-01-05 15:28:20 -08:00
parent 4e18ffe6c2
commit dc33f6ad6a

View File

@ -111,7 +111,6 @@ impl ActionState {
Idle(opt_state) => opt_state Idle(opt_state) => opt_state
.unwrap_or_else(|| IdleState::new(ecs_data)) .unwrap_or_else(|| IdleState::new(ecs_data))
.handle(ecs_data), .handle(ecs_data),
//
// All states should be explicitly handled // All states should be explicitly handled
// Do not use default match: _ => {}, // Do not use default match: _ => {},
} }
@ -132,7 +131,6 @@ impl ActionState {
}, },
Wield(_) => false, Wield(_) => false,
Idle(_) => false, Idle(_) => false,
//
// All states should be explicitly handled // All states should be explicitly handled
// Do not use default match: _ => {}, // Do not use default match: _ => {},
} }
@ -156,7 +154,6 @@ impl MoveState {
Swim(_) => false, Swim(_) => false,
Fall(_) => false, Fall(_) => false,
Sit(_) => true, Sit(_) => true,
//
// All states should be explicitly handled // All states should be explicitly handled
// Do not use default match: _ => {}, // Do not use default match: _ => {},
} }
@ -191,7 +188,6 @@ impl MoveState {
Sit(opt_state) => opt_state Sit(opt_state) => opt_state
.unwrap_or_else(|| SitState::new(ecs_data)) .unwrap_or_else(|| SitState::new(ecs_data))
.handle(ecs_data), .handle(ecs_data),
//
// All states should be explicitly handled // All states should be explicitly handled
// Do not use default match: _ => {}, // Do not use default match: _ => {},
} }