Help with printing a map

closed account (23h0pfjN)
void MapCity(int x, int y){
if(x==0 && y==0){
cout << "|----|-!!--|---|" << endl;
cout << "| | | |" << endl;
cout << "| S ! ! H |" << endl;
cout << "|____| |___|" << endl;
cout << "| _ * |" << endl;
cout << "| |P| |----|" << endl;
cout << "| ! ! W |" << endl;
cout << "|_________|____|" << endl;
}
if(x==0 && y==1){}
}
so if i wanted to change the postion of the star(*, is my charaters place), i should just write if(...) and the cordinates and also make a new map of every posible cordinate, or is the a faster way?
Topic archived. No new replies allowed.