Skip to content

Commit

Permalink
add new IsDeadOrDone() method to TestPlayerManager
Browse files Browse the repository at this point in the history
  • Loading branch information
tra committed Jun 19, 2024
1 parent d63b760 commit f6386c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class TestPlayerManager : public CPlayerManager {
virtual void GameKeyPress(char c) {}
virtual FunctionTable *GetFunctions() { return ft; }
virtual void DeadOrDone() {}
virtual bool IsDeadOrDone() { return false; }
virtual short Position() { return 0; }
virtual Str255& PlayerName() { return str; }
virtual std::string GetPlayerName() { return std::string((char *)str + 1, str[0]); }
Expand Down

0 comments on commit f6386c1

Please sign in to comment.