Package com.bergerkiller.bukkit.tc.actions

Examples of com.bergerkiller.bukkit.tc.actions.Action


   * @param forMember to remove the actions for
   */
  public void removeActions(MinecartMember<?> forMember) {
    Iterator<Action> iter = this.actions.iterator();
    while (iter.hasNext()) {
      Action action = iter.next();
      if (action instanceof MemberAction && ((MemberAction) action).getMember() == forMember) {
        iter.remove();
      }
    }
  }
View Full Code Here


   * When this is True, no physics should be applied.
   *
   * @return True if movement is controlled by an action, False if not
   */
  public boolean isMovementControlled() {
    final Action a = this.getCurrentAction();
    return a instanceof MovementAction && ((MovementAction) a).isMovementSuppressed();
  }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.tc.actions.Action

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.