2019-11-25 06:29:25 +00:00
|
|
|
package com.burnedkirby.TurnBasedMinecraft.common;
|
2018-10-24 08:20:04 +00:00
|
|
|
|
2019-10-21 07:13:11 +00:00
|
|
|
import net.minecraft.entity.player.PlayerEntity;
|
2018-10-24 08:20:04 +00:00
|
|
|
|
|
|
|
public class EditingInfo
|
|
|
|
{
|
2019-10-21 07:13:11 +00:00
|
|
|
public PlayerEntity editor;
|
2018-10-24 08:20:04 +00:00
|
|
|
public EntityInfo entityInfo;
|
|
|
|
public boolean isPendingEntitySelection;
|
2018-10-26 04:35:20 +00:00
|
|
|
public boolean isEditingCustomName;
|
2018-10-24 08:20:04 +00:00
|
|
|
|
|
|
|
public EditingInfo()
|
|
|
|
{
|
|
|
|
editor = null;
|
|
|
|
entityInfo = null;
|
|
|
|
isPendingEntitySelection = true;
|
2018-10-26 04:35:20 +00:00
|
|
|
isEditingCustomName = false;
|
2018-10-24 08:20:04 +00:00
|
|
|
}
|
|
|
|
|
2019-10-21 07:13:11 +00:00
|
|
|
public EditingInfo(PlayerEntity player)
|
2018-10-24 08:20:04 +00:00
|
|
|
{
|
|
|
|
editor = player;
|
|
|
|
entityInfo = null;
|
|
|
|
isPendingEntitySelection = true;
|
2018-10-26 04:35:20 +00:00
|
|
|
isEditingCustomName = false;
|
2018-10-24 08:20:04 +00:00
|
|
|
}
|
|
|
|
}
|