Class SupplyLine
java.lang.Object
net.chen.legacyLand.war.siege.SupplyLine
补给线
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPathPoint(org.bukkit.Location location) 添加路径点voidcut()切断补给线int获取补给线长度(区块数)booleanisCut()检查补给线是否被切断voidrestore()恢复补给线
-
Constructor Details
-
SupplyLine
-
-
Method Details
-
addPathPoint
public void addPathPoint(org.bukkit.Location location) 添加路径点 -
isCut
public boolean isCut()检查补给线是否被切断 -
cut
public void cut()切断补给线 -
restore
public void restore()恢复补给线 -
getLength
public int getLength()获取补给线长度(区块数)
-