Newer
Older
AlgebraicDataflowArchitectureModel / GameEngine / src / main / java / gameEngine / entites / Entity.java
package gameEngine.entites;

import gameEngine.entites.gameComponents.GameComponent;
import gameEngine.entites.gameComponents.MoveImage;
import gameEngine.geometry.Transform;

import java.awt.*;

public class Entity {

    private int entityId; // 作成時に割り当て
    public Transform transform = new Transform();
    public boolean active = true;
    public String name = "Entity";

    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;
    }

}