identity.h

Go to the documentation of this file.
00001 /*
00002  * identity.h
00003  *
00004  *  Created on: Mar 3, 2012
00005  *      Author: sushil
00006  */
00007 
00008 #ifndef IDENTITY_H_
00009 #define IDENTITY_H_
00010 
00011 #include <enums.h>
00012 
00013 
00014 namespace FastEcslent {
00015 
00016         class Identity {
00017 
00018         public:
00019                 int id;
00020                 int instanceId;
00021                 Side side;
00022                 Player player;
00023 
00024                 inline bool operator==(const Identity &x) {
00025                         return ((x.id == id) && (x.instanceId == instanceId));
00026                 }
00027         };
00028 
00029 }
00030 
00031 
00032 #endif /* IDENTITY_H_ */

Generated on Fri Dec 13 14:54:16 2013 for FastECSLent by  doxygen 1.5.4