Skip to content
Snippets Groups Projects
Select Git revision
  • 81b0fd6a9b16d94ab2e501b1116612d66c3fa576
  • main default protected
  • melissa
  • yanis
  • variant
5 results

SimulatorApplication.class

Blame
  • Forked from COUETOUX Basile / FirefighterStarter
    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;
        }
    
    }