Commit | Line | Data |
---|---|---|
bd443eec | 1 | |
54d3f5b3 | 2 | public abstract class Forme implements Affichable { |
009c5b1e | 3 | private Point pOri; |
bd443eec | 4 | |
009c5b1e | 5 | public abstract void dessiner(Piletransformations pile); |
bd443eec | 6 | |
009c5b1e JB |
7 | Forme() { |
8 | pOri = new Point(); | |
9 | } | |
10 | ||
11 | Forme(Point p) { | |
12 | pOri = p; | |
13 | } | |
14 | ||
15 | public Point getpOri() { | |
16 | return pOri; | |
17 | } | |
18 | ||
19 | public void deplacer(Point p) { | |
20 | pOri = pOri.additionner(p); | |
21 | } | |
bd443eec | 22 | } |