This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Tortuga/server/player_manager.hpp
T

24 lines
343 B
C++

#ifndef PLAYERMANAGER_H_
#define PLAYERMANAGER_H_
#include "player.hpp"
#include <map>
#include <string>
class PlayerManager {
public:
PlayerManager() = default;
~PlayerManager() = default;
private:
//utilities
typedef std::map<std::string, Player*> PlayerMap;
//members
PlayerMap playerMap;
int maxPlayers;
int ticker;
};
#endif