32 lines
530 B
Java
32 lines
530 B
Java
|
/**
|
||
|
*
|
||
|
*/
|
||
|
package cn.citycraft.SimpleEssential.teleport;
|
||
|
|
||
|
import org.bukkit.entity.Player;
|
||
|
|
||
|
/**
|
||
|
* 玩家传送记录
|
||
|
*
|
||
|
* @author 蒋天蓓
|
||
|
* 2015年8月12日下午2:56:25
|
||
|
*
|
||
|
*/
|
||
|
public class TeleportInfo {
|
||
|
protected TeleportType tptype;
|
||
|
protected Player target;
|
||
|
|
||
|
public TeleportInfo(Player target, TeleportType tptype) {
|
||
|
this.target = target;
|
||
|
this.tptype = tptype;
|
||
|
}
|
||
|
|
||
|
public TeleportType getTptype() {
|
||
|
return tptype;
|
||
|
}
|
||
|
|
||
|
public Player getTarget() {
|
||
|
return target;
|
||
|
}
|
||
|
}
|