Almost done

This commit is contained in:
2025-07-20 10:06:04 +03:00
parent f1e896671c
commit 10f9c47929
9 changed files with 224 additions and 9 deletions
+14
View File
@@ -57,4 +57,18 @@ bool TAlarm::Next(TId& id) {
return true;
}
bool TAlarm::IsSet(TId id) const {
auto it = Alarms_.find(id);
if (it == Alarms_.end()) {
return false;
}
if (!it->second.Target) {
return false;
}
return true;
}
} // namespace NGame