insideout-andrew / simple-card-pile-ui

This plugin provides a flexible and customizable card pile user interface for the Godot game engine. It is designed to handle various card-related functionalities including drawing, discarding, and managing different piles.
MIT License
84 stars 9 forks source link

`CardPileUI` should not hardcode JSON files for the card DB #4

Open mathrick opened 2 months ago

mathrick commented 2 months ago

The current implementation of CardPileUI forces the use of JSON files, which is very inflexible and makes unnecessary assumptions about the code using it. Since it really doesn't care what the cards are and how they get loaded, as long as it can receive a CardUIData to load the card from, it should let the user code provide the required information, with JSON files being just one of the options.