clientscene.h
来自「网络游戏通用架构, 这是基于boost和libevent写的一个程序」· C头文件 代码 · 共 42 行
H
42 行
#ifndef CLIENTSCENE_H
#define CLIENTSCENE_H
#include <stddef.h>
#include <iostream>
#include "scene.h"
using namespace std;
#include "myconsole.h"
class ClientScene : public Scene
{
public:
ClientScene();
~ClientScene();
public:
int init();
void breathe();
void shutdown();
static int* getTypePtr(void)
{
return &_type;
}
int getType(void) const
{
return 0;
}
void setType( int __type ) {}
MyConsole& getConsole(void)
{
recursive_mutex::scoped_lock lock( _mutex );
return *_console;
}
protected:
MyConsole* _console;
static int _type;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?