mirror of
https://github.com/SMGCommunity/Petari.git
synced 2026-11-10 04:41:32 -10:00
30 lines
651 B
C++
30 lines
651 B
C++
#pragma once
|
|
|
|
#include "Game/Screen/LayoutActor.hpp"
|
|
|
|
class BombTimerLayout : public LayoutActor {
|
|
public:
|
|
BombTimerLayout(bool isConnectToScene);
|
|
|
|
virtual void init(const JMapInfoIter& rIter);
|
|
virtual void appear();
|
|
|
|
void setTimeLimit(u32 timeLimit);
|
|
void suspend();
|
|
void resume();
|
|
bool isReadyToTimeUp() const;
|
|
void addFrame();
|
|
bool update();
|
|
u32 getRestTime() const;
|
|
void updateTextBox();
|
|
void exeAppear();
|
|
void exeWait();
|
|
void exeDanger();
|
|
void exeEnd();
|
|
|
|
/* 0x20 */ u32 mTimeLimit;
|
|
/* 0x24 */ u32 mDangerTransFrame;
|
|
/* 0x28 */ u32 mFrame;
|
|
/* 0x2C */ bool mIsSuspend;
|
|
};
|