mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Player - add clearNotesForName function
This commit is contained in:
@@ -1554,6 +1554,11 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
}
|
}
|
||||||
return notes.get(notedFor);
|
return notes.get(notedFor);
|
||||||
}
|
}
|
||||||
|
public void clearNotesForName(String notedFor) {
|
||||||
|
if (notes.containsKey(notedFor)) {
|
||||||
|
notes.get(notedFor).clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void noteNumberForName(String notedFor, int noted) {
|
public void noteNumberForName(String notedFor, int noted) {
|
||||||
notedNum.put(notedFor, noted);
|
notedNum.put(notedFor, noted);
|
||||||
|
|||||||
Reference in New Issue
Block a user