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 TypeMethodDescriptionboolean
A null view action that do nothing.boolean
close()
A null view action that do nothing.boolean
endActionGame
(boolean withButton, int nextLevel, String message, GJoueur gj, boolean canResumeGame) A null view action that do nothing.boolean
int
getAntChoice
(int[] t) A null view action that do nothing.getCCase()
A null view action that do nothing.A null view action that do nothing.boolean
ini()
A null view action that do nothing.void
loadingMessage
(String message, int percentageDone) A null view action that do nothing.boolean
A null view action that do nothing.boolean
menuMain()
A null view action that do nothing.boolean
A null view action that do nothing.boolean
A null view action that do nothing.boolean
A null view action that do nothing.void
A null view action that do nothing.void
move
(ObjetSurCarteAId o, CCase from, CCase to) A null view action that do nothing.boolean
paint()
A null view action that do nothing.int
A null view action that do nothing.void
popUpMessage
(String message) A null view action that do nothing.popUpQuestion
(String message) A null view action that do nothing.boolean
popUpQuestionYN
(String message, boolean important, fr.formiko.usual.CheckFunction cf) A null view action that do nothing.boolean
setLookedCCase
(CCase cc) A null view action that do nothing.void
A null view action that do nothing.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface fr.formiko.usual.Progression
closeLauncher, iniLauncher, setButtonRetryVisible, setDownloadingMessage, setDownloadingValue
Methods 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:
getActionGameOn
in 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:
actionGame
in interfaceView
- Returns:
- Return true if nothing have been print or paint.
-
pauseActionGame
public int pauseActionGame()A null view action that do nothing.- Specified by:
pauseActionGame
in 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:
endActionGame
in 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:
setLookedCCase
in interfaceView
- Returns:
- Return true if nothing have been print or paint.
-
getLookedCCase
A null view action that do nothing.- Specified by:
getLookedCCase
in 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:
getAntChoice
in 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:
loadingMessage
in interfaceView
- Parameters:
message
- the message to print.percentageDone
- the percentage of loading curently done.
-
popUpMessage
A null view action that do nothing.- Specified by:
popUpMessage
in interfaceView
- Parameters:
message
- the message to print.
-
popUpQuestion
A null view action that do nothing.- Specified by:
popUpQuestion
in 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:
popUpQuestionYN
in 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:
setPlayingAnt
in interfaceView
-
move
A null view action that do nothing.
-