OROCHI
 
Loading...
Searching...
No Matches
GxToolCharacterGenerate.h
Go to the documentation of this file.
1//===========================================================================
10//===========================================================================
11#pragma once
12
13#if GX_DEVELOP
14GX_CHARACTER_NAMESPACE_BEGIN()
15
16//===========================================================================
18//===========================================================================
19class GxToolCharacterGenerate : public GxToolBase
20{
21 //-----------------------------------------------------------
23 //-----------------------------------------------------------
25public:
26 GX_RTTI_ABSTRACT_CLASS_NAME_ICON(GxToolCharacterGenerate, GxToolBase, "ユニット生成", GxRtti::ICON_TYPE::CHARACTER)
27 // ClassBaseReference継承クラス用禁止宣言
28 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxToolCharacterGenerate)
30 static constexpr u32 CATEGORY_MAX = GxMath::VALUE_8;
32 static constexpr u32 TYPE_MAX = GxMath::VALUE_256;
33
35 //-----------------------------------------------------------
37 //-----------------------------------------------------------
39
41 GxToolCharacterGenerate(void);
42protected:
44 b32 initialize( void ) override;
45
47 //-----------------------------------------------------------
49 //-----------------------------------------------------------
51public:
53 static GxGuiBase* createGui(GxProperty& property, GxTypedObject* pOwner, const GxRtti& rtti, u32 index);
54protected:
56 virtual void onCreateButton(void);
57
59 //-----------------------------------------------------------
61 //-----------------------------------------------------------
63
64 GxRtti** _ppRttiCategory;
65 GX_ENUM _categoryList[CATEGORY_MAX];
66 u32 _categoryNum;
67 GX_ENUM _typeList[CATEGORY_MAX][TYPE_MAX];
68 u32 _typeNum[CATEGORY_MAX];
69 s32 _category;
70 s32 _type;
71 s32 _num;
72 f32 _radius;
73 GxVector3 _createPosition;
74
76};
77
78GX_CHARACTER_NAMESPACE_END()
79#endif // GX_DEVELOP
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
void GxTypedObject
その他
Definition GxDefine.h:213
static constexpr u32 VALUE_256
256
Definition GxMath.h:127
static constexpr u32 VALUE_8
8
Definition GxMath.h:122
プロパティクラス
Definition GxProperty.h:48
実行時型情報クラス
Definition GxRtti.h:154
@ CHARACTER
CHARACTER.
GUI用
Definition GxDefine.h:194
3次元ベクトル
Definition GxVector.h:245
32bitブーリアン
Definition GxDefine.h:173