This material includes, but is not limited to, the design, layout, look, appearance and graphics. This website contains material which is owned by or licensed to us.It shall be your own responsibility to ensure that any products, services or information available through this website meet your specific requirements. Your use of any information or materials on this website is entirely at your own risk, for which we shall not be liable.You acknowledge that such information and materials may contain inaccuracies or errors and we expressly exclude liability for any such inaccuracies or errors to the fullest extent permitted by law. Neither we nor any third parties provide any warranty or guarantee as to the accuracy, timeliness, performance, completeness or suitability of the information and materials found or offered on this website for any particular purpose.The content of the pages of this website is for your general information and use only.The use of this website is subject to the following terms of use: The term ‘you’ refers to the user or viewer of our website. The term ‘Everything Fabric’ or ‘us’ or ‘we’ refers to the owner of the website whose registered office is 46 Fraser Waters Parade, TOOGOOM, QLD, 4655, AU. If you disagree with any part of these terms and conditions, please do not use our website. If you continue to browse and use this website, you are agreeing to comply with and be bound by the following terms and conditions of use, which together with our privacy policy govern Everything Fabric’s relationship with you in relation to this website. Hidden_card_image: "Images/Token_PA_hidden.Welcome to our website. Name: "Decks/Deck_With_Hidden_Token_RKDH_PA" , # Same as above but this time the there is another hidden image used for faced up cards in other players' hands. # - there is a directory named "Images" with a couple of Token_* images (see arguments) length = 0Ībort "Error: Number of multiplicators doesn't match number of images found with glob ( # length unless multsĪbort "Error: No images found" if images. Remove_intermediates: remove_intermediates length > deck_size ? 1 : nilĬards: cards. Disable for debugging.ĭef initialize ( name:, glob:, back_image:, hidden_card_image: nil, mults: nil, remove_intermediates: true = multsĭeck_number = cards. # param remove_intermediates: If set, all intermediate image files will be removed. # TODO: Will be changed in the future to allow a hash to be given. # If not given, the default is 1 for each image. # The order of the images is expected as the sorted glob. # param mults: List of integers defining multipliers of each image. If not set, TTS needs to use the back image. # param hidden_card_image: Name of the image to be used as the face in hidden hands. # param back_image: Name of the image for the back side # param glob: Glob to read the images needed for this deck. # param name: Name of the deck, used as the resulting filename. # Builds a deck of cards or similar objects using a list of input images and (optional) multiplicators.Īttr_accessor :name, :glob, :back_image, :hidden_card_image, :mults, :remove_intermediatesĪttr_accessor :cards, :card_width, :card_height
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |