Class HvZMap

java.lang.Object
edu.uw.calebcha.hvz.HvZMap

public class HvZMap
extends java.lang.Object
Represents a map that can be used in Humans vs Zombies
Author:
Caleb Chan (cccfire)
  • Constructor Summary

    Constructors 
    Constructor Description
    HvZMap​(java.lang.String path, org.bukkit.util.Vector hSpawn, org.bukkit.util.Vector zSpawn)
    Constructor
  • Method Summary

    Modifier and Type Method Description
    org.bukkit.util.Vector getHumanSpawn()
    Gets where humans spawn on this map.
    java.lang.String getPath()
    Gets the path of the worldedit schem
    org.bukkit.util.Vector getZombieSpawn()
    Gets where zombies spawn on this map.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HvZMap

      public HvZMap​(java.lang.String path, org.bukkit.util.Vector hSpawn, org.bukkit.util.Vector zSpawn)
      Constructor
      Parameters:
      path - path of worldedit schem of the map
      hSpawn - position vector for human spawn location
      zSpawn - position vector for zombie spawn location
  • Method Details

    • getPath

      public java.lang.String getPath()
      Gets the path of the worldedit schem
      Returns:
      path of worldedit schem
    • getZombieSpawn

      public org.bukkit.util.Vector getZombieSpawn()
      Gets where zombies spawn on this map.
      Returns:
      zombie spawn position vector
    • getHumanSpawn

      public org.bukkit.util.Vector getHumanSpawn()
      Gets where humans spawn on this map.
      Returns:
      human spawn position vector