diff --git a/GameEngine/src/main/java/gameEngine/entites/Entity.java b/GameEngine/src/main/java/gameEngine/entites/Entity.java index 26b00aa..093dcba 100644 --- a/GameEngine/src/main/java/gameEngine/entites/Entity.java +++ b/GameEngine/src/main/java/gameEngine/entites/Entity.java @@ -10,7 +10,6 @@ private String entityId; // 作成時に割り当て public Transform transform = new Transform(); - public Transform originalTransform = new Transform(); //Editorで保持 public boolean active = true; public String name = "Entity"; @@ -18,15 +17,6 @@ entityId = eid; } - public void saveOriginalTransform() { - this.originalTransform = new Transform(this.transform); - } - - public void restoreOriginalTransform() { - this.transform = new Transform(this.originalTransform); - } - - public void setActive(boolean active) { this.active = active; }