repositories
/
TP_POO.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial code for the TP2.
[TP_POO.git]
/
TP2
/
Segment.java
1
2
class
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
}