public void SetOnPos(Sea sea, int xpos, int ypos) { Console.SetCursorPosition(sea.consoleXPos + (SeaConstants.SEA_SPACING + (xpos * SeaConstants.SEA_SPACING) + (SeaConstants.SEA_SPACING - 1)), sea.consoleYPos + (2 + ypos)); }
public void printOnPos(Sea sea, string str, int xpos, int ypos) { //xpos += 1; Write(str, sea.consoleXPos + (SeaConstants.SEA_SPACING + (xpos * SeaConstants.SEA_SPACING) + (SeaConstants.SEA_SPACING - 1)), sea.consoleYPos + (2 + ypos)); }