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

FirefighterBoard.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.
    Element.java 497 B
    package model;
    
    import util.Position;
    
    import java.util.ArrayList;
    import java.util.List;
    
    public abstract class  Element {
        ModelElement type;
        Behavior behavior;
        List<ModelElement> obstacles;
        public Element(ModelElement type, Behavior behavior, ArrayList<ModelElement> obstacles) {
            this.type = type;
            this.behavior = behavior;
            this.obstacles = obstacles;
        }
        public abstract List<Position> Update(List<Position>[] board,List<Position> modifiedList);
    }