com.nisovin.MagicSpells.Util
Class MagicLocation

java.lang.Object
  extended by com.nisovin.MagicSpells.Util.MagicLocation

public class MagicLocation
extends java.lang.Object


Constructor Summary
MagicLocation(org.bukkit.Location l)
           
MagicLocation(java.lang.String world, double x, double y, double z, float yaw, float pitch)
           
MagicLocation(java.lang.String world, int x, int y, int z)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 org.bukkit.Location getLocation()
           
 float getPitch()
           
 java.lang.String getWorld()
           
 double getX()
           
 double getY()
           
 float getYaw()
           
 double getZ()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MagicLocation

public MagicLocation(java.lang.String world,
                     int x,
                     int y,
                     int z)

MagicLocation

public MagicLocation(org.bukkit.Location l)

MagicLocation

public MagicLocation(java.lang.String world,
                     double x,
                     double y,
                     double z,
                     float yaw,
                     float pitch)
Method Detail

getLocation

public org.bukkit.Location getLocation()

getWorld

public java.lang.String getWorld()

getX

public double getX()

getY

public double getY()

getZ

public double getZ()

getYaw

public float getYaw()

getPitch

public float getPitch()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object