OROCHI
 
Loading...
Searching...
No Matches
GxStageBase Class Reference

#include <GxStageBase.h>

Inheritance diagram for GxStageBase:
Collaboration diagram for GxStageBase:

Public Member Functions

アクセサ
constexpr GxResStagegetResStage (void) const
 ステージリソースを取得
 
template<typename T >
T * getModule (void) const
 モジュールを取得
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

Friends

定義
class GxSysStage
 

初期化

 GxStageBase (void)
 デフォルトコンストラクタ
 
 ~GxStageBase (void) override
 デストラクタ
 
virtual void initialize (void)
 

操作

GX_FORCE_INLINE void createLevel (u32 index)
 レベル作成
 
void sleep (f32 time)
 スリープ(スクリプト用)
 
virtual void update (void)
 
virtual b32 loadResource (void)
 
virtual b32 unloadResource (void)
 
virtual void loadResStage (GX_CSTR path)
 ステージリソースの読み込み
 
template<typename T >
T * addModule (void)
 モジュールを作成
 
template<typename T >
void removeModule (void)
 モジュールを削除
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 

Detailed Description

ステージ基本クラス ステージの基本となる抽象クラスです。

Member Function Documentation

◆ initialize()

void GxStageBase::initialize ( void )
protectedvirtual

初期化

Note
: loadResource()完了後に1度だけ呼ばれます
Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadResource()

b32 GxStageBase::loadResource ( void )
protectedvirtual

リソース読み込み

Note
: newされたフレームからtrueを返すまで、毎フレーム呼ばれることに注意
Returns
成功ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadResStage()

void GxStageBase::loadResStage ( GX_CSTR path)
protectedvirtual

ステージリソースの読み込み

Parameters
path[in] リソースパス
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sleep()

void GxStageBase::sleep ( f32 time)

スリープ(スクリプト用)

Parameters
time[in] 秒数
Here is the call graph for this function:

◆ unloadResource()

b32 GxStageBase::unloadResource ( void )
protectedvirtual

リソース解放

Note
: setJumpStageRtti()されたフレームからtrueを返すまで、毎フレーム呼ばれることに注意
: ただしGxSysStage::cleanup()時は1度だけ呼ばれます
Returns
成功ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

void GxStageBase::update ( void )
protectedvirtual

更新

Note
: loadResource()がtrueを返したフレームから、毎フレーム呼ばれます
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: