22#ifndef ULTIMA3_VIEWS_INTERACTIONS_INTERACTION_H
23#define ULTIMA3_VIEWS_INTERACTIONS_INTERACTION_H
25#include "graphics/views/view.h"
26#include "ultima/ultima3/logic/logic.h"
31namespace Interactions {
33using namespace Graphics::Views;
112 Direction _dir = DIR_NONE;
126 Direction direction()
const {
Definition: gfx_surface.h:34
Definition: interaction.h:110
Result handleKey(const KeypressMessage &msg)
Definition: interaction.h:40
virtual bool timeout()
Definition: interaction.h:69
virtual void draw(GfxSurface &)
Definition: interaction.h:76
virtual bool isFinished() const
Definition: interaction.h:47
virtual bool isEndgame() const
Definition: interaction.h:55
virtual bool keypress(const KeypressMessage &msg)=0
Definition: interaction.h:82
int slot() const
Definition: interaction.h:102
Result handleKey(const KeypressMessage &msg)
Definition: messages.h:54