Package fr.formiko.formiko.interfaces
Class ChasseNull
java.lang.Object
fr.formiko.formiko.interfaces.ChasseNull
- All Implemented Interfaces:
Chasse
,Serializable
A null implementation.
It print an error for all the methode of implemented class.
It allow to avoid error of 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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
If lauch print an error.boolean
If lauch print an error.boolean
If lauch print an error.boolean
Return true if there is prey on same square.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface fr.formiko.formiko.interfaces.Chasse
breakSeed, canBreakSeed, canEatSeed, eatSeed, setActionMoins
-
Constructor Details
-
ChasseNull
public ChasseNull()
-
-
Method Details
-
chasse
If lauch print an error. -
chasser
If lauch print an error. -
canHuntMore
If lauch print an error.- Specified by:
canHuntMore
in interfaceChasse
-
havePreyOnSameSquare
Return true if there is prey on same square.- Specified by:
havePreyOnSameSquare
in interfaceChasse
-