All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.gpluscb.ggjava.entity.AbstractGGEntity Maven / Gradle / Ivy

package com.github.gpluscb.ggjava.entity;

import com.github.gpluscb.ggjava.internal.utils.Checks;

import javax.annotation.Nonnull;

public abstract class AbstractGGEntity implements GGEntity {
	@Nonnull
	private final EntityType type;

	public AbstractGGEntity(@Nonnull EntityType type) {
		Checks.nonNull(type, "type");
		this.type = type;
	}

	@Override
	@Nonnull
	public EntityType getGGEntityType() {
		return type;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy