Module it.polimi.ingsw.am13
Class ViewTUIPrintUtils.CardSideSymbolsBuilder
java.lang.Object
it.polimi.ingsw.am13.client.view.tui.ViewTUIPrintUtils.CardSideSymbolsBuilder
- Enclosing class:
ViewTUIPrintUtils
Static class containing all the symbols related to a card side
-
Field Summary
FieldsModifier and TypeFieldDescription"xyz"resource color -> " x " / "[x]"-> {x,y,z,k} (a character for each corner, corresponding to its resource)points -> "2xK" / " 2 " (either a number representing instant points, or a number representing how many points the player gets for each object/covered corner, followed by x and then a symbol representing the object or the covered corner conditionrequirements -> " x " / " xx " / " xxx " / "xxxx " / "xxxxx"front/back -> F/Bgold/resource/starter -> G/R/S -
Constructor Summary
ConstructorsConstructorDescriptionConstruct this class by initialising the various symbols according to the passed card side -
Method Summary
-
Field Details
-
type
gold/resource/starter -> G/R/S -
side
front/back -> F/B -
corners
-> {x,y,z,k} (a character for each corner, corresponding to its resource) -
points
points -> "2xK" / " 2 " (either a number representing instant points, or a number representing how many points the player gets for each object/covered corner, followed by x and then a symbol representing the object or the covered corner condition -
color
resource color -> " x " / "[x]" -
requirements
requirements -> " x " / " xx " / " xxx " / "xxxx " / "xxxxx" -
centerResourcesStarter
"xyz"
-
-
Constructor Details
-
CardSideSymbolsBuilder
Construct this class by initialising the various symbols according to the passed card side- Parameters:
c
- a playable cards
- a side for that card (front/back)
-