Package org.terasology.logic.characters.events

Examples of org.terasology.logic.characters.events.FootstepEvent


            if (state.getFootstepDelta() > 1) {
                state.setFootstepDelta(state.getFootstepDelta() - 1);
                if (input.isFirstRun()) {
                    switch (movementComp.mode) {
                        case WALKING:
                            entity.send(new FootstepEvent());
                            break;
                        case SWIMMING:
                            entity.send(new SwimStrokeEvent(worldProvider.getBlock(state.getPosition())));
                            break;
                    }
View Full Code Here

TOP

Related Classes of org.terasology.logic.characters.events.FootstepEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.