INNER CODE UNIT · Java

AIComponent

0xDE57/SpaceProject · core/src/main/java/com/spaceproject/components/AIComponent.java:7

public class AIComponent implements Component {
    
    public enum State {
        idle,
        wander,
        landOnPlanet,
        takeOffPlanet,
        attack,
        follow
    }
    
    public State state;
    
    public Steering steering;
    
    public Entity attackTarget; //todo: should be in attack state data?
    
    public Entity followTarget; //todo: should be in follow state data?

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…