Initial code for the TP2.
[TP_POO.git] / TP2 / Segment.java
CommitLineData
4871c009
JB
1
2class Segment {
3 private Point pOri;
4 private Point pDest;
5
6 /* Segment() {
7 pOri = null;
8 pDest = null;
9 } */
10
11 Segment(Point pO, Point pD) {
12 pOri = pO;
13 pDest = pD;
14 }
15
16 void dessiner(Piletransformations pile) {
17
18 }
19
20 void deplacer(Point p) {
21
22 }
23
24}