Skip to content
Snippets Groups Projects
GrayCell.java 924 B
Newer Older
  • Learn to ignore specific revisions
  • TRAVERS Corentin's avatar
    TRAVERS Corentin committed
    package model;
    
    import javafx.beans.property.Property;
    import javafx.scene.paint.Color;
    
    
    SAIDI Hatim's avatar
    SAIDI Hatim committed
    import java.util.Iterator;
    
    TRAVERS Corentin's avatar
    TRAVERS Corentin committed
    import java.util.List;
    
    public class GrayCell extends AbstractCell{
    
        public static final Cell GRAY_CELL = new GrayCell();
    
        /**
         * A cell is placed somewhere on a grid. Its neighbours thus depend on the underlying grid.
         *
         * @return the list of cell that are neighbours of this{@code Cell}.
         */
        @Override
        public List<Cell> getNeighbours() {
            return null;
        }
    
        /**
         * Update the list of neighbours of this {@code Cell}.
         *
         * @param cells a list of cells that are the neighbours of this {@code cell}
         *              int the underlying grid.
         */
        @Override
        public void setNeighbours(List<Cell> cells) {
    
        }
    
        @Override
        public void setColor(Color color){
    
        }
    
    SAIDI Hatim's avatar
    SAIDI Hatim committed
        public Iterator<Cell> iterator(){
            return null;
        }
    
    TRAVERS Corentin's avatar
    TRAVERS Corentin committed
    }