Skip to content
Snippets Groups Projects
Select Git revision
  • 52d229b492a57f1f81488925f7c3111cccfa15b9
  • master default protected
2 results

ShapeContainer.java

Blame
  • Forked from COUETOUX Basile / graphic-2020
    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);
    }