-
Notifications
You must be signed in to change notification settings - Fork 0
/
ActionMap.cpp
43 lines (37 loc) · 2.14 KB
/
ActionMap.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "Action.h"
#include "Player.h"
#include <iostream>
class ActionMap : public Action
{
virtual void doWith(const std::string ¶meter1, const std::string ¶meter2) const
{
std::cout <<"\n\n"
" ******** "
" * Ëåñ * ******** "
" ******** ***||*** *Äîìèê èç* "
" *Ñòîëîâàÿ* || * êàìíåé * "
" ***||*** || ***||*** "
" || || || "
" ******** ***||*** ***||*** ******** ***||*** ******** "
" * Àäìèíè ====Ðàçâèëêà==== Ôîíàðü ====Ðàçâèëêà====Ðàçâèëêà====Ó÷.äîìèê* "
" * ñòðàöèÿ* ******** ******** ***||*** ***||*** ******** "
" ******** || || "
" ******** ***||*** ***||*** "
" *Âîæàòñêàÿ== Âàø äîì* *Ñïîðòèâ.* "
" ******** ***||*** *ïëîùàäêà* "
" Ñåâåð * || ***||*** "
" | ***||*** || "
" Çàïàä *---+---* Âîñòîê * Âåðàíäà* || "
" | ******** || "
" * Þã ***||*** "
" * Ðå÷êà * "
" ******** \n";
}
virtual const char * const * getNames() const
{
static const char *names[] = {"êàðòà", "ìåñòîðàñïîëîæåíèå", "ãäå", 0};
return names;
}
};
static ActionMap action;
const Action *actionMap = &action;