repositories
/
TP_POO.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
TP2: Finally make all Affichable implemented classes uniform.
[TP_POO.git]
/
TP2
/
Forme.java
1
2
public abstract class
Forme
implements
Affichable
{
3
private
Point pOri
;
4
5
public abstract void
dessiner
(
Piletransformations pile
);
6
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
}
22
}