osb/source/game/interfaces/StarChattyEntity.hpp
Kae 63b68b3a55 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.
2023-06-27 00:42:07 +10:00

21 lines
407 B
C++

#ifndef STAR_CHATTY_ENTITY_HPP
#define STAR_CHATTY_ENTITY_HPP
#include "StarChatAction.hpp"
#include "StarEntity.hpp"
namespace Star {
STAR_CLASS(ChattyEntity);
class ChattyEntity : public virtual Entity {
public:
virtual Vec2F mouthPosition() const { return mouthPosition(true); };
virtual Vec2F mouthPosition(bool) const = 0;
virtual List<ChatAction> pullPendingChatActions() = 0;
};
}
#endif