Class TourCreatureMorte

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

public class TourCreatureMorte extends Object implements Serializable, Tour
Ant implementation.
Allow an ant to play a turn
Author:
Hydrolien
See Also:
  • Constructor Details

    • TourCreatureMorte

      public TourCreatureMorte()
  • Method Details

    • unTour

      public void unTour(Creature c)
      PLay 1 turn with Creature c.
      Specified by:
      unTour in interface Tour
      Parameters:
      c - The Creature that need to play a turn.
    • preTurn

      public void preTurn(Creature c)
    • endTurn

      public void endTurn(Creature c)
      End 1 turn with Creature c.
      Specified by:
      endTurn in interface Tour
      Parameters:
      c - The Creature that need to end a turn.