Newer
Older
AlgebraicDataflowArchitectureModel / GameEngine / src / main / java / gameEngine / entites / Entity.java
NoranekoFelician 25 days ago 745 bytes ・エディターカメラの移動の実装
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 Transform screenTransform = 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;
    }

}