Package com.bergerkiller.bukkit.common.bases.mutable

Examples of com.bergerkiller.bukkit.common.bases.mutable.VectorAbstract


  public static final double VELOCITY_SOUND_RADIUS_SQUARED = VELOCITY_SOUND_RADIUS * VELOCITY_SOUND_RADIUS;
  private static final Vector ZERO_VELOCITY = new Vector(0.0, 0.0, 0.0);
  private final Set<Player> velocityUpdateReceivers = new HashSet<Player>();

  public MinecartMemberNetwork() {
    final VectorAbstract velLiveBase = this.velLive;
    this.velLive = new VectorAbstract() {
      public double getX() {return convertVelocity(velLiveBase.getX());}
      public double getY() {return convertVelocity(velLiveBase.getY());}
      public double getZ() {return convertVelocity(velLiveBase.getZ());}
      public VectorAbstract setX(double x) {velLiveBase.setX(x); return this;}
      public VectorAbstract setY(double y) {velLiveBase.setY(y); return this;}
      public VectorAbstract setZ(double z) {velLiveBase.setZ(z); return this;}
    };
  }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.common.bases.mutable.VectorAbstract

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.