~boginw/tapaal/multiplayer

« back to all changes in this revision

Viewing changes to src/pipe/gui/canvas/PrototypeCanvas.java

  • Committer: Bogi Napoleon Wennerstrøm
  • Date: 2020-04-08 13:12:38 UTC
  • mfrom: (998.2.361 testbranch)
  • Revision ID: bogi.wennerstrom@gmail.com-20200408131238-6daa9ocph3zgx1ag
merged ~yrke changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package pipe.gui.canvas;
 
2
 
 
3
import pipe.gui.graphicElements.PetriNetObject;
 
4
 
 
5
/**
 
6
 * ProtypeCanvas is used by controllers to draw objects that are not (yet) committed to the medel
 
7
 * eg. arcs being drawn. When changing controllers the state can removed by calling clearAllPrototypes.
 
8
 */
 
9
public interface PrototypeCanvas {
 
10
 
 
11
    void addPrototype(PetriNetObject pno);
 
12
    void removePrototype(PetriNetObject pno);
 
13
 
 
14
    void clearAllPrototype();
 
15
 
 
16
}