|
MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
|
#include <Packet.h>
Public Member Functions | |
| Packet (PacketType type, u8 generation) | |
| const char * | GetTypeString () |
| PacketType | GetType () |
| void | SetType (PacketType type) |
| void | SetAtom (const T &atom) |
| void | SetReceivingNeighbor (Dir dir) |
| u32 | GetReceivingNeighbor () |
| T & | GetAtom () |
| void | SetLocation (const SPoint &fromPt) |
| const SPoint | GetLocation () const |
| const u8 | GetGeneration () const |
| void | SetGeneration (u8 generation) |
| bool | IsObsolete (u8 ourGeneration) const |
An inter-Tile communication object which holds any and all information that Tiles need to pass to one another.
|
inline |
Constructs a new Packet of a given PacketType.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Determine if this packet is obsolete compared to ourGeneration.
ourGeneration considering u8 wraparound.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.6