public DebugBuilding(int GridX, int GridY) : base(2, 2, GridX, GridY) { pos = new Vector2((GridX + 1) * GlobalConstants.TILE_WIDTH, (GridY + 1) * GlobalConstants.TILE_HEIGHT); contextMenu = new DebugBuildingContextMenu(pos); level.RegisterObject(contextMenu, true); }
public DebugBuilding(int GridX, int GridY) : base(2, 2, GridX, GridY) { pos = new Vector2((GridX + 1) * GlobalConstants.TILE_WIDTH, (GridY + 1) * GlobalConstants.TILE_HEIGHT); contextMenu = new DebugBuildingContextMenu(pos); level.RegisterObject(contextMenu, true); }