diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-27 00:42:07 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-27 00:42:07 +1000 |
commit | 63b68b3a55a11b32b07e7b8bdbf3760722d5e7f9 (patch) | |
tree | a6e9f0b6005d20fe69a00e1a585502c7b73461cd /source/game/interfaces/StarChattyEntity.hpp | |
parent | 94c84ad01333850b88091f2c188e4f6173fd25e7 (diff) |
Nameplate and chat bubble improvements
They should stack much better now. I also hooked up the true mouth position to the name-tag, but it's too shaky on chat bubbles.
Diffstat (limited to 'source/game/interfaces/StarChattyEntity.hpp')
-rw-r--r-- | source/game/interfaces/StarChattyEntity.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/game/interfaces/StarChattyEntity.hpp b/source/game/interfaces/StarChattyEntity.hpp index 57c590a..03c1ac9 100644 --- a/source/game/interfaces/StarChattyEntity.hpp +++ b/source/game/interfaces/StarChattyEntity.hpp @@ -10,7 +10,8 @@ STAR_CLASS(ChattyEntity); class ChattyEntity : public virtual Entity { public: - virtual Vec2F mouthPosition() const = 0; + virtual Vec2F mouthPosition() const { return mouthPosition(true); }; + virtual Vec2F mouthPosition(bool) const = 0; virtual List<ChatAction> pullPendingChatActions() = 0; }; |