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