Abstract class for future implementation of Composition Pattern.
This commit is contained in:
parent
5e29314e1b
commit
f21a6abc5b
4
src/Composition/GroupeAbstrait.java
Normal file
4
src/Composition/GroupeAbstrait.java
Normal file
@ -0,0 +1,4 @@
|
||||
package Composition;
|
||||
|
||||
public class GroupeAbstrait extends PersonnageAbstrait {
|
||||
}
|
5
src/Composition/PersonnageAbstrait.java
Normal file
5
src/Composition/PersonnageAbstrait.java
Normal file
@ -0,0 +1,5 @@
|
||||
package Composition;
|
||||
|
||||
public class PersonnageAbstrait {
|
||||
|
||||
}
|
@ -2,10 +2,11 @@ package Person;
|
||||
|
||||
import Comportements.ComportementCombat;
|
||||
import Comportements.ComportementEmmetreSon;
|
||||
import Composition.PersonnageAbstrait;
|
||||
import Observateur.ObservateurAbstrait;
|
||||
import Observateur.Organisation;
|
||||
|
||||
public class Personnage implements ObservateurAbstrait {
|
||||
public class Personnage extends PersonnageAbstrait implements ObservateurAbstrait {
|
||||
protected String nom;
|
||||
protected ComportementCombat comportementCombat;
|
||||
protected ComportementEmmetreSon comportementEmmetreSon;
|
||||
|
Loading…
Reference in New Issue
Block a user