Package gwlpr.mapshard.entitysystem.events

Examples of gwlpr.mapshard.entitysystem.events.MoveEvent


        move.moveState = MovementState.MoveChangeDir;
        move.moveType = moveType;

        // produce an internal event. this might seem unnecessary, but another
        // module will handle the actual movement. this is just a front controller
        aggregator.triggerEvent(new MoveEvent(et, direction, moveType));

        // we could also set/update the entities position here...
        // but we need to be sure it is valid (inside the map and no teleport)
    }
View Full Code Here

TOP

Related Classes of gwlpr.mapshard.entitysystem.events.MoveEvent

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.