27 lines
544 B
Java
27 lines
544 B
Java
package com.burnedkirby.TurnBasedMinecraft.common;
|
|
|
|
import net.minecraft.world.entity.Entity;
|
|
|
|
public class AttackerViaBow
|
|
{
|
|
public static long ATTACK_TIMEOUT = 10000000000L;
|
|
|
|
public Entity entity;
|
|
public long attackTime;
|
|
public int battleID;
|
|
|
|
public AttackerViaBow()
|
|
{
|
|
entity = null;
|
|
attackTime = 0;
|
|
battleID = -1;
|
|
}
|
|
|
|
public AttackerViaBow(Entity entity, int battleID)
|
|
{
|
|
this.entity = entity;
|
|
attackTime = System.nanoTime();
|
|
this.battleID = battleID;
|
|
}
|
|
}
|