Skip to content
Snippets Groups Projects
State.java 185 B
Newer Older
  • Learn to ignore specific revisions
  • Guyslain's avatar
    Guyslain committed
    package model;
    
    import javafx.scene.paint.Color;
    
    import java.util.List;
    
    public interface State<S> {
    
        Color getColor();
    
        S next();
    
        S update(List<State<S>> neighbours);
    
    }