- break;
- case STATE_FLAT:
- if(hit.top || hit.bottom) {
- physic.set_velocity_y(0);
- }
- if(hit.left || hit.right) {
- }
- break;
- case STATE_KICKED_DELAY:
- if(hit.top || hit.bottom) {
- physic.set_velocity_y(0);
- }
- if(hit.left || hit.right) {
- physic.set_velocity_x(0);
- }
- break;