Class TourNull

java.lang.Object
fr.formiko.formiko.interfaces.TourNull
All Implemented Interfaces:
Tour, Serializable

public class TourNull extends Object implements Serializable, Tour
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

    • TourNull

      public TourNull()
  • Method Details

    • unTour

      public void unTour(Creature c)
      If lauch print an error.
      Specified by:
      unTour in interface Tour
      Parameters:
      c - The Creature that need to play a turn.
    • preTurn

      public void preTurn(Creature c)
      If lauch print an error.
    • endTurn

      public void endTurn(Creature c)
      If lauch print an error.
      Specified by:
      endTurn in interface Tour
      Parameters:
      c - The Creature that need to end a turn.