Colors are now being loaded from assets/palette.json
This commit is contained in:
parent
48a7f72411
commit
f4fa50a413
13 changed files with 113 additions and 52 deletions
|
@ -7,4 +7,6 @@ namespace palette {
|
|||
void init(const std::string &config="assets/palette.json");
|
||||
|
||||
sf::Color get(const string &key);
|
||||
|
||||
sf::Color get(const string &key, const string &value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue