修訂. | 98c546100a61b099940000a22a7db0f1d710e446 |
---|---|
大小 | 1,137 bytes |
時間 | 2012-10-28 21:59:03 |
作者 | h2so5 |
Log Message | 起動時にステージモデルをキャッシュする機能を追加
|
//
// MainLoop.hpp
//
#pragma once
#include <memory>
#include "Base.hpp"
#include "../Client.hpp"
#include "../ManagerAccessor.hpp"
#include "../ui/InputBox.hpp"
#include "../MiniMap.hpp"
//#include "../SocketServer.hpp"
namespace scene {
class MainLoop : public Base {
public:
MainLoop(const ManagerAccessorPtr&);
~MainLoop();
void Begin();
void Update();
void Draw();
void ProcessInput(InputManager*);
void End();
private:
std::function<void(const tstring&)> push_message_;
private:
// アクセサ
ManagerAccessorPtr manager_accessor_;
PlayerManagerPtr player_manager_;
CardManagerPtr card_manager_;
CommandManagerPtr command_manager_;
WorldManagerPtr world_manager_;
AccountManagerPtr account_manager_;
ConfigManagerPtr config_manager_;
WindowManagerPtr window_manager_;
SocketServerManagerPtr socket_server_manager_;
MiniMapPtr minimap_;
InputBoxPtr inputbox_;
int snapshot_number_;
bool snapshot_;
int fade_counter_;
//SocketServer socket_server_;
};
}