7#ifndef __EVENT_NETWORK_H__
8#define __EVENT_NETWORK_H__
18const std::string NETWORK_EVENT =
"df-network";
20enum class NetworkEventLabel {
32 NetworkEventLabel m_label;
42 void setLabel(NetworkEventLabel new_label);
45 NetworkEventLabel getLabel()
const;
48 void setSocket(
int new_sock);
51 int getSocket()
const;
54 void setBytes(
int new_bytes);
60 void setMessage(
void *p_new_buff);
63 void *getMessage()
const;
Definition: EventNetwork.h:28
An animation for a sprite.
Definition: Animation.h:15