com.github.isaichkindanila.g.net.client.entities.DamageableEntity Maven / Gradle / Ivy
package com.github.isaichkindanila.g.net.client.entities;
import lombok.Getter;
import lombok.ToString;
import java.io.DataInput;
import java.io.IOException;
@Getter
@ToString(callSuper = true)
public abstract class DamageableEntity extends Entity {
private final int hp;
public DamageableEntity(DataInput input) throws IOException {
super(input);
hp = input.readInt();
}
}