add Notification::create default time

This commit is contained in:
HJfod 2023-04-15 14:25:33 +03:00
parent 475499407f
commit b1df152231

View file

@ -64,7 +64,7 @@ namespace geode {
static Notification* create(
std::string const& text,
cocos2d::CCSprite* icon,
float time
float time = NOTIFICATION_DEFAULT_TIME
);
void setString(std::string const& text);