Class MourirNull

java.lang.Object
fr.formiko.formiko.interfaces.MourirNull
All Implemented Interfaces:
Mourir, Serializable

public class MourirNull extends Object implements Serializable, Mourir
A null implementation.
It print an error for all the methode of implemented class.
It allow to avoid error of null implementation.
Author:
Hydrolien
See Also:
  • Constructor Details

    • MourirNull

      public MourirNull()
  • Method Details

    • mourir

      public void mourir(Creature c, int x)
      If lauch print an error.
      Specified by:
      mourir in interface Mourir
      Parameters:
      c - Insecte who is dieing
      x - Reason of death
    • supprimerDeLaCarte

      public void supprimerDeLaCarte(Creature c)
      If lauch print an error.
      Specified by:
      supprimerDeLaCarte in interface Mourir
      Parameters:
      c - Insecte who is dieing