Newer
Older
CactusServer / src / main / java / cactusServer / entities / Entity3D.java
r-isitani on 12 Jun 2018 533 bytes 当該クラスの修正.
package cactusServer.entities;

import framework.model3D.Placeable;
import net.arnx.jsonic.JSONHint;

public abstract class Entity3D extends Entity {
	private Placeable placeable;

	protected Entity3D() {
		// JSONDecode時の呼び出し用
	}
	
	public Entity3D(Placeable placeable) {
		setPlaceable(placeable);
	}
	
	@JSONHint(ignore = true)
	public Placeable getPlaceable() {
		return placeable;
	}

	@JSONHint(ignore = true)
	public void setPlaceable(Placeable placeable) {
		this.placeable = placeable;
	}
}