Skip to content
Snippets Groups Projects
Select Git revision
  • c230693f954cadb34f91830c4e3447b0cd263f90
  • main default protected
  • variant
3 results

BoardFireFighterBehavior.java

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.
    CellState.java 405 B
    package model;
    
    import javafx.scene.paint.Color;
    
    /**
     * {@link CellState} instances represent the possible states of a {@link CellState}.
     */
    public enum CellState {
        ALIVE(true, Color.RED),
        DEAD(false, Color.WHITE);
    
        public final boolean isAlive;
        public final Color color;
    
        CellState(boolean isAlive, Color color) {
            this.isAlive = isAlive;
            this.color = color;
        }
    }