Package edu.uw.calebcha.hvz
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 schemorg.bukkit.util.Vector
getZombieSpawn()
Gets where zombies spawn on this map.
-
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 maphSpawn
- position vector for human spawn locationzSpawn
- 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
-