package gameEngine.entites; import gameEngine.entites.gameComponents.GameComponent; import gameEngine.entites.gameComponents.MoveImage; import gameEngine.geometry.Transform; public class Entity { private int entityId; // 作成時に割り当て public Transform transform = new Transform(); public boolean active = true; public String name = "GameEntity"; public Entity(int id) { entityId = id; } public void setActive(boolean active) { this.active = active; } public void setName(String name){ this.name = name; } public int getId(){ return entityId; } }