mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-20 06:23:48 +00:00
* fix: add UnsupportedOperationException in KingsHand and GameLoopTest * refactor: update DatabaseService to use constant for BINARY_DATA and remove obsolete test files * refactor: update timePasses method in KingsHand * refactor CandyGame.java * refactor: simplify boundary checks in CandyGame * feat: add getters for type and points in Candy class and initialize logger in CandyGame * remove class and logger initialization in CandyGame * Modify CandyGame.java * fix Checkstyle violations * Remove generic wildcard type in ThreatAwareSystem
This commit is contained in:
@@ -43,5 +43,7 @@ public class KingsHand extends EventEmitter implements EventObserver {
|
||||
|
||||
@Override
|
||||
public void timePasses(Weekday day) {
|
||||
// This method is intentionally left empty because KingsHand does not handle time-based events directly.
|
||||
// It serves as a placeholder to fulfill the EventObserver interface contract.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user