X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FTargetingMode.h;h=504e6ed4cbeaed3592749cbaebdbca4257c62474;hb=7a14d357d9d05c2bac1efcdcf57365a4ce13729a;hp=83d1d831fb99a550dfb35c86de83fc2716c923c1;hpb=147732d7eaf3c082b9120a7f2b815a4a7886aa97;p=l2e.git diff --git a/src/common/TargetingMode.h b/src/common/TargetingMode.h index 83d1d83..504e6ed 100644 --- a/src/common/TargetingMode.h +++ b/src/common/TargetingMode.h @@ -1,10 +1,3 @@ -/* - * TargetingMode.h - * - * Created on: Aug 10, 2012 - * Author: holy - */ - #ifndef COMMON_TARGETINGMODE_H_ #define COMMON_TARGETINGMODE_H_ @@ -14,6 +7,9 @@ namespace common { class TargetingMode { +public: + static const int TYPE_ID = 306; + public: TargetingMode() : mode(0), ally(true) { } @@ -31,6 +27,7 @@ public: void TargetEnemy() { ally = false; } static void CreateTypeDescription(); + static void Construct(void *); private: enum {