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

ViewElement.java

Blame
  • 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);
    }