#include "termmanip.h"
#include "square.h"
#include <iostream>
using namespace std;
void
square::getUserParameters(int firstLine) {
cout << cursorPosition(1, firstLine) << "X: ";
cin >> tx;
cout << cursorPosition(21, firstLine) << "Y: ";
cin >> ty;
cout << cursorPosition(1, firstLine+1) << "Size: ";
cin >> width;
height = width;
}