5#ifndef __EVENT_VIEW_H__
6#define __EVENT_VIEW_H__
12const std::string VIEW_EVENT =
"df-view";
26 EventView(std::string new_tag,
int new_value,
bool new_delta);
Definition: EventView.h:14
int getValue() const
Get value.
bool getDelta() const
Get delta.
EventView(std::string new_tag, int new_value, bool new_delta)
Create view event with tag, value and delta as indicated.
void setDelta(bool new_delta)
Set delta to new delta.
std::string m_tag
Tag to associate.
Definition: EventView.h:17
int m_value
Value for view.
Definition: EventView.h:18
EventView()
Create view event with tag VIEW_EVENT, value 0 and delta false.
void setValue(int new_value)
Set value to new value.
std::string getTag() const
Get tag.
void setTag(std::string new_tag)
Set tag to new tag.
bool m_delta
True if change in value, else replace value.
Definition: EventView.h:19
An animation for a sprite.
Definition: Animation.h:15