Skip to content
Snippets Groups Projects
Select Git revision
  • ac3e362037a1b31c36a2dc49eb38320cf4906e79
  • main default protected
  • correction_video
  • going_further
  • ImprovedMouseInteraction
  • final2023
  • template
  • ModifGUI
8 results

GameOfLifeState.java

Blame
  • Forked from LABOUREL Arnaud / Game of life Template
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    GameOfLifeState.java 652 B
    package model.automata;
    
    import javafx.scene.paint.Color;
    import model.State;
    
    import java.util.List;
    
    /**
     * {@link GameOfLifeState} instances represent the possible states of a {@link GameOfLifeState}.
     */
    public enum GameOfLifeState implements State<GameOfLifeState> {
        ALIVE, DEAD;
    
    
        @Override
        public Color getColor() {
            //TODO: à compléter
            return Color.BLACK;
        }
    
        @Override
        public GameOfLifeState next() {
            //TODO: à compléter
            return null;
        }
    
        @Override
        public GameOfLifeState update(List<GameOfLifeState> neighbours) {
            //TODO: à compléter
            return null;
        }
    
    }