Newer
Older
CactusServer / src / main / java / cactusServer / entities / Entity3D.java
  1. package cactusServer.entities;
  2.  
  3. import org.ntlab.radishforandroidstudio.framework.model3D.Placeable;
  4.  
  5. import net.arnx.jsonic.JSONHint;
  6.  
  7. public abstract class Entity3D extends Entity {
  8. private Placeable placeable;
  9.  
  10. protected Entity3D() {
  11. // JSONDecode時の呼び出し用
  12. }
  13.  
  14. public Entity3D(Placeable placeable) {
  15. setPlaceable(placeable);
  16. }
  17.  
  18. @JSONHint(ignore = true)
  19. public Placeable getPlaceable() {
  20. return placeable;
  21. }
  22.  
  23. @JSONHint(ignore = true)
  24. public void setPlaceable(Placeable placeable) {
  25. this.placeable = placeable;
  26. }
  27. }