Interface Tour

All Superinterfaces:
Serializable
All Known Implementing Classes:
TourCreatureMorte, TourCreatureSansAction, TourFourmi, TourFourmiNonIa, TourInsecte, TourNull, TourReine

public interface Tour extends Serializable
play a turn.
Author:
Hydrolien
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    end a turn.
    void
    play a turn.
  • Method Details

    • unTour

      void unTour(Creature c)
      play a turn.
      Parameters:
      c - The Creature that need to play a turn.
    • endTurn

      default void endTurn(Creature c)
      end a turn.
      Turn can be end only 1 times per turn.
      Parameters:
      c - The Creature that need to end a turn.