Package fr.formiko.formiko.interfaces
Class MourirInsecte
java.lang.Object
fr.formiko.formiko.interfaces.MourirInsecte
- All Implemented Interfaces:
Mourir
,Serializable
Insect implementation.
Allow an insect to died
Allow an insect to died
- Author:
- Hydrolien
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Transform an Insect to a dead body.void
Died without beeing eated.void
Delet an Insect from the map.
-
Constructor Details
-
MourirInsecte
public MourirInsecte()
-
-
Method Details
-
mourir
Died without beeing eated. -
supprimerDeLaCarte
Delet an Insect from the map.- Specified by:
supprimerDeLaCarte
in interfaceMourir
- Parameters:
c
- Insecte who is dieing
-
devenirUnCadavre
Transform an Insect to a dead body.
-