Package fr.formiko.formiko.interfaces
Class TourCreatureSansAction
java.lang.Object
fr.formiko.formiko.interfaces.TourCreatureSansAction
- All Implemented Interfaces:
Tour
,Serializable
Creature implementation.
Allow a creature without any action aviable to play a turn
Maybe that's not usefull because if action < 0 creature will already end there turn.
Allow a creature without any action aviable to play a turn
Maybe that's not usefull because if action < 0 creature will already end there turn.
- Author:
- Hydrolien
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TourCreatureSansAction
public TourCreatureSansAction()
-
-
Method Details
-
unTour
PLay 1 turn with Creature c. -
preTurn
-
tour
Do turn actions :
manger, grandir (age).
if Evoluer != null and age >=maxAge
if fourmi : salir -
endTurn
End a turn.
If turn have already be end on this turn, it will do nothing.
-