Package fr.formiko.views
Class ViewNull
java.lang.Object
fr.formiko.views.ViewNull
- All Implemented Interfaces:
fr.formiko.usual.Progression,View
Null view. A simple view who do nothing when a view action is launch.
- Author:
- Hydrolien
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanA null view action that do nothing.booleanclose()A null view action that do nothing.booleanendActionGame(boolean withButton, int nextLevel, String message, GJoueur gj, boolean canResumeGame) A null view action that do nothing.booleanintgetAntChoice(int[] t) A null view action that do nothing.getCCase()A null view action that do nothing.A null view action that do nothing.booleanini()A null view action that do nothing.voidloadingMessage(String message, int percentageDone) A null view action that do nothing.booleanA null view action that do nothing.booleanmenuMain()A null view action that do nothing.booleanA null view action that do nothing.booleanA null view action that do nothing.booleanA null view action that do nothing.voidA null view action that do nothing.voidmove(ObjetSurCarteAId o, CCase from, CCase to) A null view action that do nothing.booleanpaint()A null view action that do nothing.intA null view action that do nothing.voidpopUpMessage(String message) A null view action that do nothing.popUpQuestion(String message) A null view action that do nothing.booleanpopUpQuestionYN(String message, boolean important, fr.formiko.usual.CheckFunction cf) A null view action that do nothing.booleansetLookedCCase(CCase cc) A null view action that do nothing.voidA null view action that do nothing.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.formiko.usual.Progression
closeLauncher, iniLauncher, setButtonRetryVisible, setDownloadingMessage, setDownloadingValueMethods inherited from interface fr.formiko.views.View
centerOverCase, getMoveMode, isBladesEnable, makeUserChooseInt, makeUserChooseOnArray, popUpQuestionYN, popUpQuestionYN, setMoveMode, waitForEndTurn
-
Field Details
-
actionGameOn
private boolean actionGameOn
-
-
Constructor Details
-
ViewNull
public ViewNull()
-
-
Method Details
-
getActionGameOn
public boolean getActionGameOn()- Specified by:
getActionGameOnin interfaceView
-
ini
public boolean ini()A null view action that do nothing. -
close
public boolean close()A null view action that do nothing. -
paint
public boolean paint()A null view action that do nothing. -
actionGame
public boolean actionGame()A null view action that do nothing.- Specified by:
actionGamein interfaceView- Returns:
- Return true if nothing have been print or paint.
-
pauseActionGame
public int pauseActionGame()A null view action that do nothing.- Specified by:
pauseActionGamein interfaceView- Returns:
- Return true if nothing have been print or paint.
-
endActionGame
public boolean endActionGame(boolean withButton, int nextLevel, String message, GJoueur gj, boolean canResumeGame) A null view action that do nothing.- Specified by:
endActionGamein interfaceView- Parameters:
withButton- true if we need to add button "return to main menu" and "next level".nextLevel- the number of the next level to link to the button. -1 = no next level.message- message to print.gj- sorted player list to print.- Returns:
- Return true if nothing have been print or paint.
-
setLookedCCase
A null view action that do nothing.- Specified by:
setLookedCCasein interfaceView- Returns:
- Return true if nothing have been print or paint.
-
getLookedCCase
A null view action that do nothing.- Specified by:
getLookedCCasein interfaceView- Returns:
- Return true if nothing have been print or paint.
-
getAntChoice
public int getAntChoice(int[] t) A null view action that do nothing.- Specified by:
getAntChoicein interfaceView- Returns:
- Return -1;
-
getCCase
A null view action that do nothing. -
message
A null view action that do nothing. -
loadingMessage
A null view action that do nothing.- Specified by:
loadingMessagein interfaceView- Parameters:
message- the message to print.percentageDone- the percentage of loading curently done.
-
popUpMessage
A null view action that do nothing.- Specified by:
popUpMessagein interfaceView- Parameters:
message- the message to print.
-
popUpQuestion
A null view action that do nothing.- Specified by:
popUpQuestionin interfaceView- Parameters:
message- the message to print.- Returns:
- the answer.
-
popUpQuestionYN
public boolean popUpQuestionYN(String message, boolean important, fr.formiko.usual.CheckFunction cf) A null view action that do nothing.- Specified by:
popUpQuestionYNin interfaceView- Parameters:
message- the message to print.important- some gui action will be done if truecf- CheckFunction to use to get text, default checked & launch function- Returns:
- the answer.
-
setPlayingAnt
A null view action that do nothing.- Specified by:
setPlayingAntin interfaceView
-
move
A null view action that do nothing.
-