]>
Commit | Line | Data |
---|---|---|
f21affc9 | 1 | #include <iostream>\r |
2 | using namespace std;\r | |
3 | #include <GameServ/GameLayer/GameObjects/PlayerGO.h>\r | |
4 | using GameServ::GameLayer::GameObjects::PlayerGO;\r | |
5 | #include <GameServ/GameLayer/PlayerGL.h>\r | |
6 | using GameServ::GameLayer::PlayerGL;\r | |
7 | \r | |
77a55fd1 | 8 | #include <GameServ/GameServException.h>\r |
9 | using GameServ::Exceptions::GameServException;\r | |
10 | \r | |
3d5a42ee | 11 | #include <GameServ/Types.h>\r |
12 | using GameServ::Types::Range;\r | |
13 | \r | |
f21affc9 | 14 | int main()\r |
15 | {\r | |
77a55fd1 | 16 | try\r |
17 | {\r | |
3d5a42ee | 18 | /* PlayerGL pgl;\r |
77a55fd1 | 19 | shared_ptr<PlayerGO> spPlayer = pgl.GetById("Kain");\r |
90afb050 | 20 | cout << spPlayer->Name() << endl;\r |
e823e42a | 21 | spPlayer->Name("Kainazzzo");\r |
3d5a42ee | 22 | pgl.Insert(spPlayer);*/\r |
23 | \r | |
24 | Range testrange(20, 100);\r | |
25 | \r | |
26 | for (int x = 0; x < 100; x++)\r | |
27 | {\r | |
28 | cout << testrange.Random() << endl;\r | |
29 | }\r | |
77a55fd1 | 30 | }\r |
31 | catch (GameServException &e)\r | |
32 | {\r | |
33 | cout << e.VerboseError() << endl;\r | |
77a55fd1 | 34 | \r |
90afb050 | 35 | }\r |
36 | string temp;\r | |
37 | cin >> temp;\r | |
f21affc9 | 38 | return 0;\r |
39 | }\r |