63b68b3a55
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.
21 lines
407 B
C++
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
|