forked from LosaDev/ls-2019-source
LosaDev source snapshot 2019
This commit is contained in:
commit
c198676e97
20588 files changed
+8812878
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#define MAGIC_TOKEN_FSM -1
|
||||
|
||||
class FSM
|
||||
{
|
||||
protected:
|
||||
int m_iState;
|
||||
|
||||
public:
|
||||
void InitState();
|
||||
void UpdateState();
|
||||
|
||||
public:
|
||||
bool IsFirst();
|
||||
int GetState();
|
||||
void SetState(int iState);
|
||||
|
||||
public:
|
||||
FSM();
|
||||
};
|
||||
Reference in new issue
Block a user