mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 17:32:15 -07:00
Keep Annotations on Stack
This commit is contained in:
parent
ded6d5b8eb
commit
75b7205310
6 changed files with 16 additions and 8 deletions
|
|
@ -54,13 +54,15 @@ Server_Card::~Server_Card()
|
|||
}
|
||||
}
|
||||
|
||||
void Server_Card::resetState()
|
||||
void Server_Card::resetState(bool keepAnnotations)
|
||||
{
|
||||
counters.clear();
|
||||
setTapped(false);
|
||||
setAttacking(false);
|
||||
setPT(QString());
|
||||
setAnnotation(QString());
|
||||
if (!keepAnnotations) {
|
||||
setAnnotation(QString());
|
||||
}
|
||||
setDoesntUntap(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue