X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FTargetingMode.h;h=1800d2bb958ab7f21821094b7a3a0986dcb0c73c;hb=a55161b97cf529be58eb3a52fe5167ab994cd906;hp=83d1d831fb99a550dfb35c86de83fc2716c923c1;hpb=147732d7eaf3c082b9120a7f2b815a4a7886aa97;p=l2e.git diff --git a/src/common/TargetingMode.h b/src/common/TargetingMode.h index 83d1d83..1800d2b 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 { @@ -45,4 +42,4 @@ private: } -#endif /* COMMON_TARGETINGMODE_H_ */ +#endif